|
|
@ -273,7 +273,9 @@ EOT
|
|
|
|
|
|
|
|
|
|
|
|
EXTERNAL=$(get_iface_var "EXTERNAL")
|
|
|
|
EXTERNAL=$(get_iface_var "EXTERNAL")
|
|
|
|
EXTERNAL=${EXTERNAL^^}
|
|
|
|
EXTERNAL=${EXTERNAL^^}
|
|
|
|
|
|
|
|
DETACH=$(get_iface_var "DETACH")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ -z "${DETACH}" ]; then
|
|
|
|
if [ -z "${EXTERNAL}" ] || [ "$EXTERNAL" = "NO" ]; then
|
|
|
|
if [ -z "${EXTERNAL}" ] || [ "$EXTERNAL" = "NO" ]; then
|
|
|
|
[ -n "${IP}" ] && gen_alias_conf
|
|
|
|
[ -n "${IP}" ] && gen_alias_conf
|
|
|
|
[ -n "${IP6}" ] && gen_alias6_conf
|
|
|
|
[ -n "${IP6}" ] && gen_alias6_conf
|
|
|
@ -282,6 +284,7 @@ EOT
|
|
|
|
ALIAS_NUM=$((ALIAS_NUM + 1))
|
|
|
|
ALIAS_NUM=$((ALIAS_NUM + 1))
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
# on Red Hats, we need just a single configuration
|
|
|
|
# on Red Hats, we need just a single configuration
|
|
|
|