Browse Source

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)
changes/15/787615/6
Wes Hayutin 4 months ago
committed by wes hayutin
parent
commit
375b4e8777
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      elements/interface-names/install.d/71-clean-stale-interface

+ 2
- 2
elements/interface-names/install.d/71-clean-stale-interface View File

@ -4,6 +4,6 @@ set -eux
set -o pipefail
# https://bugs.centos.org/view.php?id=17133
if [ -f /etc/sysconfig/network-scripts/ifcfg-ens3 ]; then
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
if ls /etc/sysconfig/network-scripts/ifcfg-ens3* &> /dev/null; then
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3*
fi

Loading…
Cancel
Save