| |
@@ -1,7 +1,7 @@
|
| |
- From 8256852de570a0c6b237c75abd134ddbafee5c1f Mon Sep 17 00:00:00 2001
|
| |
+ From 8caf88512cf2c558e55e78b82c27809f5061e2da Mon Sep 17 00:00:00 2001
|
| |
From: Eduardo Otubo <otubo@redhat.com>
|
| |
- Date: Thu, 3 Dec 2020 12:31:50 +0100
|
| |
- Subject: [PATCH] Do not write NM_CONTROLLED=no in generated interface config
|
| |
+ Date: Thu, 2 Sep 2021 11:22:14 +0200
|
| |
+ Subject: [PATCH] Do not write NM_CONTROLLED=no in generated interface config
|
| |
files
|
| |
|
| |
Conflicts 20.3:
|
| |
@@ -19,10 +19,10 @@
|
| |
3 files changed, 1 insertion(+), 58 deletions(-)
|
| |
|
| |
diff --git a/cloudinit/net/sysconfig.py b/cloudinit/net/sysconfig.py
|
| |
- index a930e612..9c822c3e 100644
|
| |
+ index 06f7255e..ccbd785a 100644
|
| |
--- a/cloudinit/net/sysconfig.py
|
| |
+++ b/cloudinit/net/sysconfig.py
|
| |
- @@ -289,7 +289,7 @@ class Renderer(renderer.Renderer):
|
| |
+ @@ -290,7 +290,7 @@ class Renderer(renderer.Renderer):
|
| |
# details about this)
|
| |
|
| |
iface_defaults = {
|
| |
@@ -32,10 +32,10 @@
|
| |
'suse': {'BOOTPROTO': 'static', 'STARTMODE': 'auto'},
|
| |
}
|
| |
diff --git a/tests/unittests/test_distros/test_netconfig.py b/tests/unittests/test_distros/test_netconfig.py
|
| |
- index a1df066a..bc167f94 100644
|
| |
+ index d09e46af..3f01c99e 100644
|
| |
--- a/tests/unittests/test_distros/test_netconfig.py
|
| |
+++ b/tests/unittests/test_distros/test_netconfig.py
|
| |
- @@ -484,7 +484,6 @@ class TestNetCfgDistroRedhat(TestNetCfgDistroBase):
|
| |
+ @@ -503,7 +503,6 @@ class TestNetCfgDistroRedhat(TestNetCfgDistroBase):
|
| |
GATEWAY=192.168.1.254
|
| |
IPADDR=192.168.1.5
|
| |
NETMASK=255.255.255.0
|
| |
@@ -43,7 +43,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -492,7 +491,6 @@ class TestNetCfgDistroRedhat(TestNetCfgDistroBase):
|
| |
+ @@ -511,7 +510,6 @@ class TestNetCfgDistroRedhat(TestNetCfgDistroBase):
|
| |
self.ifcfg_path('eth1'): dedent("""\
|
| |
BOOTPROTO=dhcp
|
| |
DEVICE=eth1
|
| |
@@ -51,7 +51,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -517,7 +515,6 @@ class TestNetCfgDistroRedhat(TestNetCfgDistroBase):
|
| |
+ @@ -536,7 +534,6 @@ class TestNetCfgDistroRedhat(TestNetCfgDistroBase):
|
| |
IPV6_AUTOCONF=no
|
| |
IPV6_DEFAULTGW=2607:f0d0:1002:0011::1
|
| |
IPV6_FORCE_ACCEPT_RA=no
|
| |
@@ -59,7 +59,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -525,7 +522,6 @@ class TestNetCfgDistroRedhat(TestNetCfgDistroBase):
|
| |
+ @@ -544,7 +541,6 @@ class TestNetCfgDistroRedhat(TestNetCfgDistroBase):
|
| |
self.ifcfg_path('eth1'): dedent("""\
|
| |
BOOTPROTO=dhcp
|
| |
DEVICE=eth1
|
| |
@@ -67,7 +67,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -559,7 +555,6 @@ class TestNetCfgDistroRedhat(TestNetCfgDistroBase):
|
| |
+ @@ -578,7 +574,6 @@ class TestNetCfgDistroRedhat(TestNetCfgDistroBase):
|
| |
HWADDR=00:16:3e:60:7c:df
|
| |
IPADDR=192.10.1.2
|
| |
NETMASK=255.255.255.0
|
| |
@@ -75,7 +75,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -569,7 +564,6 @@ class TestNetCfgDistroRedhat(TestNetCfgDistroBase):
|
| |
+ @@ -588,7 +583,6 @@ class TestNetCfgDistroRedhat(TestNetCfgDistroBase):
|
| |
DEVICE=infra0
|
| |
IPADDR=10.0.1.2
|
| |
NETMASK=255.255.0.0
|
| |
@@ -83,7 +83,7 @@
|
| |
ONBOOT=yes
|
| |
PHYSDEV=eth0
|
| |
USERCTL=no
|
| |
- @@ -598,7 +592,6 @@ class TestNetCfgDistroRedhat(TestNetCfgDistroBase):
|
| |
+ @@ -617,7 +611,6 @@ class TestNetCfgDistroRedhat(TestNetCfgDistroBase):
|
| |
DEVICE=eth0
|
| |
IPADDR=192.10.1.2
|
| |
NETMASK=255.255.255.0
|
| |
@@ -91,7 +91,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -608,7 +601,6 @@ class TestNetCfgDistroRedhat(TestNetCfgDistroBase):
|
| |
+ @@ -627,7 +620,6 @@ class TestNetCfgDistroRedhat(TestNetCfgDistroBase):
|
| |
DEVICE=eth0.1001
|
| |
IPADDR=10.0.1.2
|
| |
NETMASK=255.255.0.0
|
| |
@@ -100,7 +100,7 @@
|
| |
PHYSDEV=eth0
|
| |
USERCTL=no
|
| |
diff --git a/tests/unittests/test_net.py b/tests/unittests/test_net.py
|
| |
- index 70453683..47a71964 100644
|
| |
+ index fc77b11e..3e35ff4d 100644
|
| |
--- a/tests/unittests/test_net.py
|
| |
+++ b/tests/unittests/test_net.py
|
| |
@@ -535,7 +535,6 @@ GATEWAY=172.19.3.254
|
| |
@@ -127,7 +127,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -884,7 +881,6 @@ NETWORK_CONFIGS = {
|
| |
+ @@ -910,7 +907,6 @@ NETWORK_CONFIGS = {
|
| |
BOOTPROTO=none
|
| |
DEVICE=eth1
|
| |
HWADDR=cf:d6:af:48:e8:80
|
| |
@@ -135,7 +135,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no"""),
|
| |
- @@ -901,7 +897,6 @@ NETWORK_CONFIGS = {
|
| |
+ @@ -927,7 +923,6 @@ NETWORK_CONFIGS = {
|
| |
IPADDR=192.168.21.3
|
| |
NETMASK=255.255.255.0
|
| |
METRIC=10000
|
| |
@@ -143,7 +143,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no"""),
|
| |
- @@ -1032,7 +1027,6 @@ NETWORK_CONFIGS = {
|
| |
+ @@ -1075,7 +1070,6 @@ NETWORK_CONFIGS = {
|
| |
IPV6_AUTOCONF=no
|
| |
IPV6_FORCE_ACCEPT_RA=no
|
| |
NETMASK=255.255.255.0
|
| |
@@ -151,7 +151,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -1095,7 +1089,6 @@ NETWORK_CONFIGS = {
|
| |
+ @@ -1144,7 +1138,6 @@ NETWORK_CONFIGS = {
|
| |
DHCPV6C=yes
|
| |
IPV6INIT=yes
|
| |
DEVICE=iface0
|
| |
@@ -159,7 +159,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -1150,7 +1143,6 @@ NETWORK_CONFIGS = {
|
| |
+ @@ -1199,7 +1192,6 @@ NETWORK_CONFIGS = {
|
| |
IPV6INIT=yes
|
| |
IPV6_FORCE_ACCEPT_RA=yes
|
| |
DEVICE=iface0
|
| |
@@ -167,7 +167,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -1205,7 +1197,6 @@ NETWORK_CONFIGS = {
|
| |
+ @@ -1254,7 +1246,6 @@ NETWORK_CONFIGS = {
|
| |
IPV6INIT=yes
|
| |
IPV6_FORCE_ACCEPT_RA=no
|
| |
DEVICE=iface0
|
| |
@@ -175,7 +175,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -1250,7 +1241,6 @@ NETWORK_CONFIGS = {
|
| |
+ @@ -1299,7 +1290,6 @@ NETWORK_CONFIGS = {
|
| |
IPV6_AUTOCONF=yes
|
| |
IPV6INIT=yes
|
| |
DEVICE=iface0
|
| |
@@ -183,7 +183,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -1277,7 +1267,6 @@ NETWORK_CONFIGS = {
|
| |
+ @@ -1326,7 +1316,6 @@ NETWORK_CONFIGS = {
|
| |
IPV6_AUTOCONF=no
|
| |
IPV6_FORCE_ACCEPT_RA=no
|
| |
DEVICE=iface0
|
| |
@@ -191,7 +191,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -1324,7 +1313,6 @@ NETWORK_CONFIGS = {
|
| |
+ @@ -1373,7 +1362,6 @@ NETWORK_CONFIGS = {
|
| |
IPV6_AUTOCONF=yes
|
| |
IPV6INIT=yes
|
| |
DEVICE=iface0
|
| |
@@ -199,15 +199,15 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -1371,7 +1359,6 @@ NETWORK_CONFIGS = {
|
| |
- IPV6INIT=yes
|
| |
+ @@ -1421,7 +1409,6 @@ NETWORK_CONFIGS = {
|
| |
+ IPV6_AUTOCONF=no
|
| |
IPV6_FORCE_ACCEPT_RA=yes
|
| |
DEVICE=iface0
|
| |
- NM_CONTROLLED=no
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -1404,7 +1391,6 @@ NETWORK_CONFIGS = {
|
| |
+ @@ -1454,7 +1441,6 @@ NETWORK_CONFIGS = {
|
| |
'ifcfg-iface0': textwrap.dedent("""\
|
| |
BOOTPROTO=dhcp
|
| |
DEVICE=iface0
|
| |
@@ -215,7 +215,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -1447,7 +1433,6 @@ NETWORK_CONFIGS = {
|
| |
+ @@ -1497,7 +1483,6 @@ NETWORK_CONFIGS = {
|
| |
BOOTPROTO=dhcp
|
| |
DEVICE=iface0
|
| |
ETHTOOL_OPTS="wol g"
|
| |
@@ -223,7 +223,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -1736,7 +1721,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
+ @@ -1786,7 +1771,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
DHCPV6C=yes
|
| |
IPV6INIT=yes
|
| |
MACADDR=aa:bb:cc:dd:ee:ff
|
| |
@@ -231,7 +231,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Bond
|
| |
USERCTL=no"""),
|
| |
- @@ -1744,7 +1728,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
+ @@ -1794,7 +1778,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
BOOTPROTO=dhcp
|
| |
DEVICE=bond0.200
|
| |
DHCLIENT_SET_DEFAULT_ROUTE=no
|
| |
@@ -239,7 +239,7 @@
|
| |
ONBOOT=yes
|
| |
PHYSDEV=bond0
|
| |
USERCTL=no
|
| |
- @@ -1762,7 +1745,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
+ @@ -1812,7 +1795,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
IPV6_DEFAULTGW=2001:4800:78ff:1b::1
|
| |
MACADDR=bb:bb:bb:bb:bb:aa
|
| |
NETMASK=255.255.255.0
|
| |
@@ -247,7 +247,7 @@
|
| |
ONBOOT=yes
|
| |
PRIO=22
|
| |
STP=no
|
| |
- @@ -1772,7 +1754,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
+ @@ -1822,7 +1804,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
BOOTPROTO=none
|
| |
DEVICE=eth0
|
| |
HWADDR=c0:d6:9f:2c:e8:80
|
| |
@@ -255,7 +255,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no"""),
|
| |
- @@ -1789,7 +1770,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
+ @@ -1839,7 +1820,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
MTU=1500
|
| |
NETMASK=255.255.255.0
|
| |
NETMASK1=255.255.255.0
|
| |
@@ -263,7 +263,7 @@
|
| |
ONBOOT=yes
|
| |
PHYSDEV=eth0
|
| |
USERCTL=no
|
| |
- @@ -1799,7 +1779,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
+ @@ -1849,7 +1829,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
DEVICE=eth1
|
| |
HWADDR=aa:d6:9f:2c:e8:80
|
| |
MASTER=bond0
|
| |
@@ -271,7 +271,7 @@
|
| |
ONBOOT=yes
|
| |
SLAVE=yes
|
| |
TYPE=Ethernet
|
| |
- @@ -1809,7 +1788,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
+ @@ -1859,7 +1838,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
DEVICE=eth2
|
| |
HWADDR=c0:bb:9f:2c:e8:80
|
| |
MASTER=bond0
|
| |
@@ -279,7 +279,7 @@
|
| |
ONBOOT=yes
|
| |
SLAVE=yes
|
| |
TYPE=Ethernet
|
| |
- @@ -1819,7 +1797,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
+ @@ -1869,7 +1847,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
BRIDGE=br0
|
| |
DEVICE=eth3
|
| |
HWADDR=66:bb:9f:2c:e8:80
|
| |
@@ -287,7 +287,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no"""),
|
| |
- @@ -1828,7 +1805,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
+ @@ -1878,7 +1855,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
BRIDGE=br0
|
| |
DEVICE=eth4
|
| |
HWADDR=98:bb:9f:2c:e8:80
|
| |
@@ -295,7 +295,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no"""),
|
| |
- @@ -1837,7 +1813,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
+ @@ -1887,7 +1863,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
DEVICE=eth5
|
| |
DHCLIENT_SET_DEFAULT_ROUTE=no
|
| |
HWADDR=98:bb:9f:2c:e8:8a
|
| |
@@ -303,7 +303,7 @@
|
| |
ONBOOT=no
|
| |
TYPE=Ethernet
|
| |
USERCTL=no"""),
|
| |
- @@ -1848,7 +1823,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
+ @@ -1898,7 +1873,6 @@ pre-down route del -net 10.0.0.0/8 gw 11.0.0.1 metric 3 || true
|
| |
IPADDR=192.168.200.7
|
| |
MTU=9000
|
| |
NETMASK=255.255.255.0
|
| |
@@ -311,7 +311,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=InfiniBand
|
| |
USERCTL=no"""),
|
| |
- @@ -2293,7 +2267,6 @@ iface bond0 inet6 static
|
| |
+ @@ -2343,7 +2317,6 @@ iface bond0 inet6 static
|
| |
MTU=9000
|
| |
NETMASK=255.255.255.0
|
| |
NETMASK1=255.255.255.0
|
| |
@@ -319,7 +319,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Bond
|
| |
USERCTL=no
|
| |
- @@ -2303,7 +2276,6 @@ iface bond0 inet6 static
|
| |
+ @@ -2353,7 +2326,6 @@ iface bond0 inet6 static
|
| |
DEVICE=bond0s0
|
| |
HWADDR=aa:bb:cc:dd:e8:00
|
| |
MASTER=bond0
|
| |
@@ -327,7 +327,7 @@
|
| |
ONBOOT=yes
|
| |
SLAVE=yes
|
| |
TYPE=Ethernet
|
| |
- @@ -2325,7 +2297,6 @@ iface bond0 inet6 static
|
| |
+ @@ -2375,7 +2347,6 @@ iface bond0 inet6 static
|
| |
DEVICE=bond0s1
|
| |
HWADDR=aa:bb:cc:dd:e8:01
|
| |
MASTER=bond0
|
| |
@@ -335,7 +335,7 @@
|
| |
ONBOOT=yes
|
| |
SLAVE=yes
|
| |
TYPE=Ethernet
|
| |
- @@ -2382,7 +2353,6 @@ iface bond0 inet6 static
|
| |
+ @@ -2432,7 +2403,6 @@ iface bond0 inet6 static
|
| |
BOOTPROTO=none
|
| |
DEVICE=en0
|
| |
HWADDR=aa:bb:cc:dd:e8:00
|
| |
@@ -343,7 +343,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no"""),
|
| |
- @@ -2401,7 +2371,6 @@ iface bond0 inet6 static
|
| |
+ @@ -2451,7 +2421,6 @@ iface bond0 inet6 static
|
| |
MTU=2222
|
| |
NETMASK=255.255.255.0
|
| |
NETMASK1=255.255.255.0
|
| |
@@ -351,7 +351,7 @@
|
| |
ONBOOT=yes
|
| |
PHYSDEV=en0
|
| |
USERCTL=no
|
| |
- @@ -2466,7 +2435,6 @@ iface bond0 inet6 static
|
| |
+ @@ -2516,7 +2485,6 @@ iface bond0 inet6 static
|
| |
DEVICE=br0
|
| |
IPADDR=192.168.2.2
|
| |
NETMASK=255.255.255.0
|
| |
@@ -359,7 +359,7 @@
|
| |
ONBOOT=yes
|
| |
PRIO=22
|
| |
STP=no
|
| |
- @@ -2482,7 +2450,6 @@ iface bond0 inet6 static
|
| |
+ @@ -2532,7 +2500,6 @@ iface bond0 inet6 static
|
| |
IPV6INIT=yes
|
| |
IPV6_AUTOCONF=no
|
| |
IPV6_FORCE_ACCEPT_RA=no
|
| |
@@ -367,7 +367,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -2496,7 +2463,6 @@ iface bond0 inet6 static
|
| |
+ @@ -2546,7 +2513,6 @@ iface bond0 inet6 static
|
| |
IPV6INIT=yes
|
| |
IPV6_AUTOCONF=no
|
| |
IPV6_FORCE_ACCEPT_RA=no
|
| |
@@ -375,7 +375,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -2590,7 +2556,6 @@ iface bond0 inet6 static
|
| |
+ @@ -2640,7 +2606,6 @@ iface bond0 inet6 static
|
| |
HWADDR=52:54:00:12:34:00
|
| |
IPADDR=192.168.1.2
|
| |
NETMASK=255.255.255.0
|
| |
@@ -383,7 +383,7 @@
|
| |
ONBOOT=no
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -2600,7 +2565,6 @@ iface bond0 inet6 static
|
| |
+ @@ -2650,7 +2615,6 @@ iface bond0 inet6 static
|
| |
DEVICE=eth1
|
| |
HWADDR=52:54:00:12:34:aa
|
| |
MTU=1480
|
| |
@@ -391,7 +391,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -2609,7 +2573,6 @@ iface bond0 inet6 static
|
| |
+ @@ -2659,7 +2623,6 @@ iface bond0 inet6 static
|
| |
BOOTPROTO=none
|
| |
DEVICE=eth2
|
| |
HWADDR=52:54:00:12:34:ff
|
| |
@@ -399,7 +399,7 @@
|
| |
ONBOOT=no
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -3026,7 +2989,6 @@ class TestRhelSysConfigRendering(CiTestCase):
|
| |
+ @@ -3080,7 +3043,6 @@ class TestRhelSysConfigRendering(CiTestCase):
|
| |
BOOTPROTO=dhcp
|
| |
DEVICE=eth1000
|
| |
HWADDR=07-1c-c6-75-a4-be
|
| |
@@ -407,7 +407,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -3147,7 +3109,6 @@ GATEWAY=10.0.2.2
|
| |
+ @@ -3201,7 +3163,6 @@ GATEWAY=10.0.2.2
|
| |
HWADDR=52:54:00:12:34:00
|
| |
IPADDR=10.0.2.15
|
| |
NETMASK=255.255.255.0
|
| |
@@ -415,7 +415,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -3178,7 +3139,6 @@ HWADDR=fa:16:3e:25:b4:59
|
| |
+ @@ -3232,7 +3193,6 @@ HWADDR=fa:16:3e:25:b4:59
|
| |
IPADDR=51.68.89.122
|
| |
MTU=1500
|
| |
NETMASK=255.255.240.0
|
| |
@@ -423,7 +423,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -3192,7 +3152,6 @@ DEVICE=eth1
|
| |
+ @@ -3246,7 +3206,6 @@ DEVICE=eth1
|
| |
DHCLIENT_SET_DEFAULT_ROUTE=no
|
| |
HWADDR=fa:16:3e:b1:ca:29
|
| |
MTU=9000
|
| |
@@ -431,7 +431,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -3217,7 +3176,6 @@ USERCTL=no
|
| |
+ @@ -3271,7 +3230,6 @@ USERCTL=no
|
| |
#
|
| |
BOOTPROTO=dhcp
|
| |
DEVICE=eth0
|
| |
@@ -439,7 +439,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -3492,7 +3450,6 @@ USERCTL=no
|
| |
+ @@ -3546,7 +3504,6 @@ USERCTL=no
|
| |
IPV6_FORCE_ACCEPT_RA=no
|
| |
IPV6_DEFAULTGW=2001:db8::1
|
| |
NETMASK=255.255.255.0
|
| |
@@ -447,7 +447,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -3517,7 +3474,6 @@ USERCTL=no
|
| |
+ @@ -3571,7 +3528,6 @@ USERCTL=no
|
| |
'ifcfg-eno1': textwrap.dedent("""\
|
| |
BOOTPROTO=none
|
| |
DEVICE=eno1
|
| |
@@ -455,7 +455,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Ethernet
|
| |
USERCTL=no
|
| |
- @@ -3528,7 +3484,6 @@ USERCTL=no
|
| |
+ @@ -3582,7 +3538,6 @@ USERCTL=no
|
| |
IPADDR=192.6.1.9
|
| |
MTU=1495
|
| |
NETMASK=255.255.255.0
|
| |
@@ -463,7 +463,7 @@
|
| |
ONBOOT=yes
|
| |
PHYSDEV=eno1
|
| |
USERCTL=no
|
| |
- @@ -3558,7 +3513,6 @@ USERCTL=no
|
| |
+ @@ -3612,7 +3567,6 @@ USERCTL=no
|
| |
IPADDR=10.101.8.65
|
| |
MTU=1334
|
| |
NETMASK=255.255.255.192
|
| |
@@ -471,7 +471,7 @@
|
| |
ONBOOT=yes
|
| |
TYPE=Bond
|
| |
USERCTL=no
|
| |
- @@ -3568,7 +3522,6 @@ USERCTL=no
|
| |
+ @@ -3622,7 +3576,6 @@ USERCTL=no
|
| |
BOOTPROTO=none
|
| |
DEVICE=enp0s0
|
| |
MASTER=bond0
|
| |
@@ -479,7 +479,7 @@
|
| |
ONBOOT=yes
|
| |
SLAVE=yes
|
| |
TYPE=Bond
|
| |
- @@ -3579,7 +3532,6 @@ USERCTL=no
|
| |
+ @@ -3633,7 +3586,6 @@ USERCTL=no
|
| |
BOOTPROTO=none
|
| |
DEVICE=enp0s1
|
| |
MASTER=bond0
|
| |
@@ -487,7 +487,7 @@
|
| |
ONBOOT=yes
|
| |
SLAVE=yes
|
| |
TYPE=Bond
|
| |
- @@ -3603,7 +3555,6 @@ USERCTL=no
|
| |
+ @@ -3657,7 +3609,6 @@ USERCTL=no
|
| |
DEVICE=eno1
|
| |
HWADDR=07-1c-c6-75-a4-be
|
| |
METRIC=100
|
| |
This is the first step for rebasing cloud-init to 21.3. All patches are
rebased, old patches that are already on the release were deleted.
Signed-off-by: Eduardo Otubo otubo@redhat.com