I have a cluster of raspberry pi's and I am updating the os from raspian to ubuntu 20.04. I am able to configure a static ip address and name server, but I can not figure out how to disable ipv6. The cloud-init documentation states that dhcp6 is defaulted to false, but my system still shows an ipv6 address on boot. I am new to cloud-init and figuring things out as I go along. Any help would be greatly appreciated.
you could do
to test it without restating:
sudo systemctl restart systemd-sysctl