ensure any ens3 interface is nuked during image build
It seems as though w/ CentOS-8.3 ens3 has crept
back into play. Ensure it's not in the overcloud
images. See bug for details.
Closes-Bug: #1910107
Change-Id: I29d632814577db0b720b07d4497983e267d46a4e
(cherry picked from commit d072a79acf
)
This commit is contained in:
parent
44c79f626b
commit
c6d24542ab
|
@ -4,6 +4,6 @@ set -eux
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
# https://bugs.centos.org/view.php?id=17133
|
# https://bugs.centos.org/view.php?id=17133
|
||||||
if [ -f /etc/sysconfig/network-scripts/ifcfg-ens3 ]; then
|
if ls /etc/sysconfig/network-scripts/ifcfg-ens3* &> /dev/null; then
|
||||||
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
|
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3*
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue