From 6957bd8db38be6c49b41376f020bfc77ef23fb43 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Fri, 21 Mar 2014 09:35:20 -0400 Subject: [PATCH] baremetal: correct the path of ifcfg-eth0 Remove the correct ifcfg-eth0 file on Fedora. This will require an associated incubator change as well to ensure the undercloud/overcloud now use em1. Change-Id: I4b4bb7b6a25b058eebe889fd8ce1a403aaf193fd --- elements/baremetal/install.d/02-stable-interface-names | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/baremetal/install.d/02-stable-interface-names b/elements/baremetal/install.d/02-stable-interface-names index 32fb19b12..8822c7373 100755 --- a/elements/baremetal/install.d/02-stable-interface-names +++ b/elements/baremetal/install.d/02-stable-interface-names @@ -11,7 +11,7 @@ install-packages biosdevname # Fedora/RHEL cloud images may hard code the eth0 interface # so it boots w/ DHCP. We remove this file here so it # doesn't interfere w/ stable interface naming -IFCFG_NETSCRIPT="/etc/sysconfig/network-interfaces/ifcfg-eth0" +IFCFG_NETSCRIPT="/etc/sysconfig/network-scripts/ifcfg-eth0" if [ -f $IFCFG_NETSCRIPT ]; then rm $IFCFG_NETSCRIPT fi