Merge "Cleanup stale interface if exists"

This commit is contained in:
Zuul 2020-03-13 13:34:59 +00:00 committed by Gerrit Code Review
commit 89d2854c8b
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#!/bin/bash
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
fi