Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
B #83: Fix RH postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlastimil Holer committed Jun 9, 2020
1 parent 88c05ba commit 470d7f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 470d7f8

Please sign in to comment.