Merge "baremetal: correct the path of ifcfg-eth0"

This commit is contained in:
Jenkins 2014-03-25 15:50:31 +00:00 committed by Gerrit Code Review
commit 8c5aff82a2

View File

@ -11,7 +11,7 @@ install-packages biosdevname
# Fedora/RHEL cloud images may hard code the eth0 interface # Fedora/RHEL cloud images may hard code the eth0 interface
# so it boots w/ DHCP. We remove this file here so it # so it boots w/ DHCP. We remove this file here so it
# doesn't interfere w/ stable interface naming # 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 if [ -f $IFCFG_NETSCRIPT ]; then
rm $IFCFG_NETSCRIPT rm $IFCFG_NETSCRIPT
fi fi