i want to disable ipv6, i use: set system ipv6 disable
after commit+save+reboot, interfaces have ipv6 addresses.
system-ipv6.py creates the /etc/modprobe.d/vyos_disable_ipv6.conf file to set ipv6 modul options. There is already an ipv6.conf file with another ipv6 options, but this is unused too:
IPV6 is build directly into the kernel. So, it's not loaded by modprobe, so the modprobe configuration is not involved.
(unfortunately, autoconf is 1 by default)
Disable through sysctl is not good, because that doesnt really disable ipv6, just "hide" address from ipv6 interfaces.
the real solution add "ipv6.disable=1" to grub command line parameter.
(same, ipv6.autoconf=0 sould be added to command line)