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
This commit is contained in:
Dan Prince 2014-03-21 09:35:20 -04:00
parent 94805549d8
commit 6957bd8db3
1 changed files with 1 additions and 1 deletions

View File

@ -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