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