Configure GRUB to pass kernel parameters at boot time. You’ll have to edit /etc/default/grub
. Once again, make sure you have administrator privileges:
sudo nano /etc/default/grub
Now you need to modify GRUB_CMDLINE_LINUX_DEFAULT
and GRUB_CMDLINE_LINUX
to disable IPv6 on boot: