forked from pool/cloud-init
Robert Schweikert
7c5eaf65d4
+ Set proper IPv6 interface variable in ifcfg file OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=157
11 lines
477 B
Diff
11 lines
477 B
Diff
--- cloudinit/net/sysconfig.py.orig
|
|
+++ cloudinit/net/sysconfig.py
|
|
@@ -349,6 +349,7 @@ class Renderer(renderer.Renderer):
|
|
# TODO need to set BOOTPROTO to dhcp6 on SUSE
|
|
iface_cfg['IPV6INIT'] = True
|
|
iface_cfg['DHCPV6C'] = True
|
|
+ iface_cfg['DHCLIENT6_MODE'] = 'managed'
|
|
elif subnet_type in ['dhcp4', 'dhcp']:
|
|
iface_cfg['BOOTPROTO'] = 'dhcp'
|
|
elif subnet_type == 'static':
|