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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user