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:
parent
94805549d8
commit
6957bd8db3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue