aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-08-08 11:55:01 +0200
committerLukas Nykryn <lnykryn@redhat.com>2014-08-08 11:55:01 +0200
commit832668b72dac67bc550a13b3275855b31a7236f6 (patch)
tree436cd73d075d2b2cbe869fb2ccff33acfd3308df
parentb8ae15f801d59569413d6a75dac4660c6c1aab90 (diff)
downloadinitscripts-832668b72dac67bc550a13b3275855b31a7236f6.tar
initscripts-832668b72dac67bc550a13b3275855b31a7236f6.tar.gz
initscripts-832668b72dac67bc550a13b3275855b31a7236f6.tar.bz2
initscripts-832668b72dac67bc550a13b3275855b31a7236f6.tar.xz
initscripts-832668b72dac67bc550a13b3275855b31a7236f6.zip
ifup-aliases: do not bring up ipv6 for range files
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index b821eee8..b3d045df 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -328,6 +328,7 @@ for FILE in ifcfg-${parent_device}-range* ; do
while [ $ipaddr_num -le $ipaddr_endnum ]; do
IPADDR="$ipaddr_prefix.$ipaddr_num"
DEVICE="$parent_device:$ipaddr_clonenum"
+ IPV6INIT="no"
[ "$ONPARENT" != "no" -a "$ONPARENT" != "NO" ] && new_interface;
ipaddr_num=$(($ipaddr_num+1))
ipaddr_clonenum=$(($ipaddr_clonenum+1))