From f99745cf916e707eaa1ded6f12e8b69837b7242d Mon Sep 17 00:00:00 2001 From: Andreas Karis Date: Tue, 6 Jun 2017 12:55:50 -0400 Subject: 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 --- tests/unittests/test_net.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tests') 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 @@ -149,14 +149,6 @@ NM_CONTROLLED=no 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', """ -- cgit v1.2.3