copr-be: start libvirt VMs with eth1 ipv6.method=manual

This commit is contained in:
Pavel Raiskup 2022-11-18 22:21:10 +01:00
parent 310ddb9b36
commit cb7fb9c88f

View file

@ -308,6 +308,7 @@ class LibvirtSpawner:
"type ethernet autoconnect no",
f"nmcli con modify '{con_name}' ipv6.address {ipv6_addr}",
f"nmcli con modify '{con_name}' ipv6.gateway {ipv6_gw}",
f"nmcli con modify '{con_name}' ipv6.method manual",
f"nmcli con modify '{con_name}' ipv4.method disabled",
# Sometimes 'con up' fails since device doesn't exist yet, for some
# reason ppc64 machines go directly to "connecting" state, while on