2019-01-18 10:50:54 +01:00
|
|
|
--- cloudinit/net/sysconfig.py.orig
|
|
|
|
+++ cloudinit/net/sysconfig.py
|
|
|
|
@@ -252,6 +252,7 @@ class Renderer(renderer.Renderer):
|
2018-10-25 20:58:19 +02:00
|
|
|
('USERCTL', False),
|
|
|
|
('NM_CONTROLLED', False),
|
|
|
|
('BOOTPROTO', 'none'),
|
|
|
|
+ ('STARTMODE', 'auto'),
|
|
|
|
])
|
|
|
|
|
|
|
|
# If these keys exist, then their values will be used to form
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -346,6 +347,7 @@ class Renderer(renderer.Renderer):
|
2018-10-25 20:58:19 +02:00
|
|
|
iface_cfg.name))
|
|
|
|
if subnet.get('control') == 'manual':
|
|
|
|
iface_cfg['ONBOOT'] = False
|
|
|
|
+ iface_cfg['STARTMODE'] = 'manual'
|
|
|
|
|
|
|
|
# set IPv4 and IPv6 static addresses
|
|
|
|
ipv4_index = -1
|
2019-01-18 10:50:54 +01:00
|
|
|
--- tests/unittests/test_distros/test_netconfig.py.orig
|
|
|
|
+++ tests/unittests/test_distros/test_netconfig.py
|
|
|
|
@@ -468,6 +468,7 @@ class TestNetCfgDistroRedhat(TestNetCfgD
|
2018-10-25 20:58:19 +02:00
|
|
|
NETMASK=255.255.255.0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -476,6 +477,7 @@ class TestNetCfgDistroRedhat(TestNetCfgD
|
2018-10-25 20:58:19 +02:00
|
|
|
DEVICE=eth1
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -499,6 +501,7 @@ class TestNetCfgDistroRedhat(TestNetCfgD
|
2018-10-25 20:58:19 +02:00
|
|
|
IPV6_DEFAULTGW=2607:f0d0:1002:0011::1
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -507,6 +510,7 @@ class TestNetCfgDistroRedhat(TestNetCfgD
|
2018-10-25 20:58:19 +02:00
|
|
|
DEVICE=eth1
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -559,6 +563,7 @@ class TestNetCfgDistroOpensuse(TestNetCf
|
2018-10-25 20:58:19 +02:00
|
|
|
NETMASK=255.255.255.0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -567,6 +572,7 @@ class TestNetCfgDistroOpensuse(TestNetCf
|
2018-10-25 20:58:19 +02:00
|
|
|
DEVICE=eth1
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -587,6 +593,7 @@ class TestNetCfgDistroOpensuse(TestNetCf
|
2018-10-25 20:58:19 +02:00
|
|
|
IPV6_DEFAULTGW=2607:f0d0:1002:0011::1
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -595,6 +602,7 @@ class TestNetCfgDistroOpensuse(TestNetCf
|
2018-10-25 20:58:19 +02:00
|
|
|
DEVICE=eth1
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
--- tests/unittests/test_net.py.orig
|
|
|
|
+++ tests/unittests/test_net.py
|
2018-10-25 20:58:19 +02:00
|
|
|
@@ -144,6 +144,7 @@ IPADDR=172.19.1.34
|
|
|
|
NETMASK=255.255.252.0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
""".lstrip()),
|
|
|
|
@@ -177,6 +178,7 @@ IPADDR=172.19.1.34
|
|
|
|
NETMASK=255.255.252.0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
""".lstrip()),
|
|
|
|
@@ -246,6 +248,7 @@ NETMASK=255.255.252.0
|
|
|
|
NETMASK1=255.255.255.0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
""".lstrip()),
|
|
|
|
@@ -281,6 +284,7 @@ NETMASK=255.255.252.0
|
|
|
|
NETMASK1=255.255.255.0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
""".lstrip()),
|
|
|
|
@@ -372,6 +376,7 @@ IPV6_DEFAULTGW=2001:DB8::1
|
|
|
|
NETMASK=255.255.252.0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
""".lstrip()),
|
|
|
|
@@ -409,6 +414,7 @@ IPV6_DEFAULTGW=2001:DB8::1
|
|
|
|
NETMASK=255.255.252.0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
""".lstrip()),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -525,6 +531,7 @@ NETWORK_CONFIGS = {
|
2018-10-25 20:58:19 +02:00
|
|
|
HWADDR=cf:d6:af:48:e8:80
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no"""),
|
|
|
|
'ifcfg-eth99': textwrap.dedent("""\
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -541,6 +548,7 @@ NETWORK_CONFIGS = {
|
|
|
|
METRIC=10000
|
2018-10-25 20:58:19 +02:00
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no"""),
|
|
|
|
},
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -654,6 +662,7 @@ NETWORK_CONFIGS = {
|
2018-10-25 20:58:19 +02:00
|
|
|
NETMASK=255.255.255.0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
MTU=9000
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -693,6 +702,7 @@ NETWORK_CONFIGS = {
|
2018-10-25 20:58:19 +02:00
|
|
|
DEVICE=iface0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -896,6 +906,7 @@ pre-down route del -net 10.0.0.0 netmask
|
2018-10-25 20:58:19 +02:00
|
|
|
MACADDR=aa:bb:cc:dd:ee:ff
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Bond
|
|
|
|
USERCTL=no"""),
|
|
|
|
'ifcfg-bond0.200': textwrap.dedent("""\
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -903,6 +914,7 @@ pre-down route del -net 10.0.0.0 netmask
|
|
|
|
DEVICE=bond0.200
|
2018-10-25 20:58:19 +02:00
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
2019-01-18 10:50:54 +01:00
|
|
|
PHYSDEV=bond0
|
2018-10-25 20:58:19 +02:00
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -920,6 +932,7 @@ pre-down route del -net 10.0.0.0 netmask
|
|
|
|
NETMASK=255.255.255.0
|
2018-10-25 20:58:19 +02:00
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
2019-01-18 10:50:54 +01:00
|
|
|
PRIO=22
|
2018-10-25 20:58:19 +02:00
|
|
|
STP=no
|
|
|
|
TYPE=Bridge
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -930,6 +943,7 @@ pre-down route del -net 10.0.0.0 netmask
|
2018-10-25 20:58:19 +02:00
|
|
|
HWADDR=c0:d6:9f:2c:e8:80
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no"""),
|
|
|
|
'ifcfg-eth0.101': textwrap.dedent("""\
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -947,6 +961,7 @@ pre-down route del -net 10.0.0.0 netmask
|
|
|
|
NETMASK1=255.255.255.0
|
2018-10-25 20:58:19 +02:00
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
2019-01-18 10:50:54 +01:00
|
|
|
PHYSDEV=eth0
|
2018-10-25 20:58:19 +02:00
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -958,6 +973,7 @@ pre-down route del -net 10.0.0.0 netmask
|
2018-10-25 20:58:19 +02:00
|
|
|
MASTER=bond0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
SLAVE=yes
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -968,6 +984,7 @@ pre-down route del -net 10.0.0.0 netmask
|
2018-10-25 20:58:19 +02:00
|
|
|
MASTER=bond0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
SLAVE=yes
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -978,6 +995,7 @@ pre-down route del -net 10.0.0.0 netmask
|
2018-10-25 20:58:19 +02:00
|
|
|
HWADDR=66:bb:9f:2c:e8:80
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no"""),
|
|
|
|
'ifcfg-eth4': textwrap.dedent("""\
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -987,6 +1005,7 @@ pre-down route del -net 10.0.0.0 netmask
|
2018-10-25 20:58:19 +02:00
|
|
|
HWADDR=98:bb:9f:2c:e8:80
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no"""),
|
|
|
|
'ifcfg-eth5': textwrap.dedent("""\
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -995,6 +1014,7 @@ pre-down route del -net 10.0.0.0 netmask
|
2018-10-25 20:58:19 +02:00
|
|
|
HWADDR=98:bb:9f:2c:e8:8a
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=no
|
|
|
|
+ STARTMODE=manual
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no""")
|
|
|
|
},
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -1306,6 +1326,7 @@ pre-down route del -net 10.0.0.0 netmask
|
2018-10-25 20:58:19 +02:00
|
|
|
NETMASK1=255.255.255.0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Bond
|
|
|
|
USERCTL=no
|
|
|
|
"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -1316,6 +1337,7 @@ pre-down route del -net 10.0.0.0 netmask
|
|
|
|
MASTER=bond0
|
2018-10-25 20:58:19 +02:00
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
2019-01-18 10:50:54 +01:00
|
|
|
SLAVE=yes
|
2018-10-25 20:58:19 +02:00
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -1332,6 +1354,7 @@ pre-down route del -net 10.0.0.0 netmask
|
|
|
|
MASTER=bond0
|
2018-10-25 20:58:19 +02:00
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
2019-01-18 10:50:54 +01:00
|
|
|
SLAVE=yes
|
2018-10-25 20:58:19 +02:00
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -1358,6 +1381,7 @@ pre-down route del -net 10.0.0.0 netmask
|
2018-10-25 20:58:19 +02:00
|
|
|
NETMASK1=255.255.255.0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Bond
|
|
|
|
USERCTL=no
|
|
|
|
"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -1368,6 +1392,7 @@ pre-down route del -net 10.0.0.0 netmask
|
|
|
|
MASTER=bond0
|
2018-10-25 20:58:19 +02:00
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
2019-01-18 10:50:54 +01:00
|
|
|
SLAVE=yes
|
2018-10-25 20:58:19 +02:00
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -1390,6 +1415,7 @@ pre-down route del -net 10.0.0.0 netmask
|
|
|
|
MASTER=bond0
|
2018-10-25 20:58:19 +02:00
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
2019-01-18 10:50:54 +01:00
|
|
|
SLAVE=yes
|
2018-10-25 20:58:19 +02:00
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -1428,6 +1454,7 @@ pre-down route del -net 10.0.0.0 netmask
|
2018-10-25 20:58:19 +02:00
|
|
|
HWADDR=aa:bb:cc:dd:e8:00
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no"""),
|
|
|
|
'ifcfg-en0.99': textwrap.dedent("""\
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -1445,6 +1472,7 @@ pre-down route del -net 10.0.0.0 netmask
|
|
|
|
NETMASK1=255.255.255.0
|
2018-10-25 20:58:19 +02:00
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
2019-01-18 10:50:54 +01:00
|
|
|
PHYSDEV=en0
|
2018-10-25 20:58:19 +02:00
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -1486,6 +1514,7 @@ pre-down route del -net 10.0.0.0 netmask
|
|
|
|
NETMASK=255.255.255.0
|
2018-10-25 20:58:19 +02:00
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
2019-01-18 10:50:54 +01:00
|
|
|
PRIO=22
|
2018-10-25 20:58:19 +02:00
|
|
|
STP=no
|
|
|
|
TYPE=Bridge
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -1500,6 +1529,7 @@ pre-down route del -net 10.0.0.0 netmask
|
2018-10-25 20:58:19 +02:00
|
|
|
IPV6INIT=yes
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -1512,6 +1542,7 @@ pre-down route del -net 10.0.0.0 netmask
|
2018-10-25 20:58:19 +02:00
|
|
|
IPV6INIT=yes
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -1586,6 +1617,7 @@ pre-down route del -net 10.0.0.0 netmask
|
2018-10-25 20:58:19 +02:00
|
|
|
NETMASK=255.255.255.0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=no
|
|
|
|
+ STARTMODE=manual
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -1596,6 +1628,7 @@ pre-down route del -net 10.0.0.0 netmask
|
2018-10-25 20:58:19 +02:00
|
|
|
MTU=1480
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+ STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -1605,6 +1638,7 @@ pre-down route del -net 10.0.0.0 netmask
|
2018-10-25 20:58:19 +02:00
|
|
|
HWADDR=52:54:00:12:34:ff
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=no
|
|
|
|
+ STARTMODE=manual
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""),
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -1971,6 +2005,7 @@ DEVICE=eth1000
|
2018-10-25 20:58:19 +02:00
|
|
|
HWADDR=07-1C-C6-75-A4-BE
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
""".lstrip()
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -2092,6 +2127,7 @@ IPADDR=10.0.2.15
|
2018-10-25 20:58:19 +02:00
|
|
|
NETMASK=255.255.255.0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -2113,6 +2149,7 @@ BOOTPROTO=dhcp
|
2018-10-25 20:58:19 +02:00
|
|
|
DEVICE=eth0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -2260,6 +2297,7 @@ DEVICE=eth1000
|
2018-10-25 20:58:19 +02:00
|
|
|
HWADDR=07-1C-C6-75-A4-BE
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
""".lstrip()
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -2381,6 +2419,7 @@ IPADDR=10.0.2.15
|
2018-10-25 20:58:19 +02:00
|
|
|
NETMASK=255.255.255.0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""
|
2019-01-18 10:50:54 +01:00
|
|
|
@@ -2402,6 +2441,7 @@ BOOTPROTO=dhcp
|
2018-10-25 20:58:19 +02:00
|
|
|
DEVICE=eth0
|
|
|
|
NM_CONTROLLED=no
|
|
|
|
ONBOOT=yes
|
|
|
|
+STARTMODE=auto
|
|
|
|
TYPE=Ethernet
|
|
|
|
USERCTL=no
|
|
|
|
"""
|