summaryrefslogtreecommitdiff
path: root/tests/unittests/test_net.py
diff options
context:
space:
mode:
authorAndreas Karis <akaris@redhat.com>2017-06-06 12:55:50 -0400
committerScott Moser <smoser@brickies.net>2017-06-07 17:55:00 -0400
commitf99745cf916e707eaa1ded6f12e8b69837b7242d (patch)
tree9e7a7a3c5ae1ff2774ec65771aca640ae9dda7ee /tests/unittests/test_net.py
parent8d58f12248c0bd9e8f88296f29935fd3dc33b415 (diff)
downloadvyos-cloud-init-f99745cf916e707eaa1ded6f12e8b69837b7242d.tar.gz
vyos-cloud-init-f99745cf916e707eaa1ded6f12e8b69837b7242d.zip
RHEL/CentOS: Fix default routes for IPv4/IPv6 configuration.
Since f38fa413176, default routes get added to both ifcfg-* and route-* and route6-* files. Default routes should only go to ifcfg-* files, otherwise the information is redundant. LP: #1696176
Diffstat (limited to 'tests/unittests/test_net.py')
-rw-r--r--tests/unittests/test_net.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/unittests/test_net.py b/tests/unittests/test_net.py
index 0000b075..0a88caf1 100644
--- a/tests/unittests/test_net.py
+++ b/tests/unittests/test_net.py
@@ -150,14 +150,6 @@ ONBOOT=yes
TYPE=Ethernet
USERCTL=no
""".lstrip()),
- ('etc/sysconfig/network-scripts/route-eth0',
- """
-# Created by cloud-init on instance boot automatically, do not edit.
-#
-ADDRESS0=0.0.0.0
-GATEWAY0=172.19.3.254
-NETMASK0=0.0.0.0
-""".lstrip()),
('etc/resolv.conf',
"""
; Created by cloud-init on instance boot automatically, do not edit.