Is there a way to disable ipv6 in NetworkManager by default?

An easier way would be to use kernelopts to disable ipv6 completely. No change to the original template is required:

qvm-prefs sys-net kernelopts ipv6.disable=1
3 Likes