B #83: Fix RH postinstall

pull/213/head v5.12.0
Vlastimil Holer 5 years ago
parent 88c05bae60
commit 470d7f8e2b
No known key found for this signature in database
GPG Key ID: EB549BADEFD07C53

@ -98,8 +98,8 @@ fi
if [ -d /etc/sysconfig/network-scripts ]; then
# Prepare network files
find /etc/sysconfig/network-scripts -type f \
-name 'ifcfg-*' ! -name 'ifcfg-lo' \
-o -name 'route-*' ! -name 'route-lo' \
\( -name 'ifcfg-*' -o -name 'route-*' \) \
! -name 'ifcfg-lo' ! -name 'route-lo' \
-exec rm -f {} \;
if [ "${NETWORK_EC2}" = 'yes' ]; then

Loading…
Cancel
Save