forked from pool/cloud-init
Robert Schweikert
37fdad8a72
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=123
13 lines
594 B
Diff
13 lines
594 B
Diff
--- cloudinit/net/sysconfig.py.orig
|
|
+++ cloudinit/net/sysconfig.py
|
|
@@ -314,7 +314,8 @@ class Renderer(renderer.Renderer):
|
|
# ==> the following should not be set to 'static'
|
|
# but should remain 'none'
|
|
# if iface_cfg['BOOTPROTO'] == 'none':
|
|
- # iface_cfg['BOOTPROTO'] = 'static'
|
|
+ # For SUSE this is different set to "static"
|
|
+ iface_cfg['BOOTPROTO'] = 'static'
|
|
if subnet_is_ipv6(subnet):
|
|
mtu_key = 'IPV6_MTU'
|
|
iface_cfg['IPV6INIT'] = True
|