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

Commit 470d7f8

Browse files
committed
B #83: Fix RH postinstall
1 parent 88c05ba commit 470d7f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/postinstall

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ fi
9898
if [ -d /etc/sysconfig/network-scripts ]; then
9999
# Prepare network files
100100
find /etc/sysconfig/network-scripts -type f \
101-
-name 'ifcfg-*' ! -name 'ifcfg-lo' \
102-
-o -name 'route-*' ! -name 'route-lo' \
101+
\( -name 'ifcfg-*' -o -name 'route-*' \) \
102+
! -name 'ifcfg-lo' ! -name 'route-lo' \
103103
-exec rm -f {} \;
104104

105105
if [ "${NETWORK_EC2}" = 'yes' ]; then

0 commit comments

Comments
 (0)