quick fix for ifup since introduction of IPv6 loopback IPs
This commit is contained in:
parent
002d2e0221
commit
05cb6ef35f
|
@ -10,7 +10,7 @@ if ! [[ $CLUSTER =~ ^[0-9]+$ ]]; then
|
||||||
exit 10
|
exit 10
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LOOPBACKIP=$(hostname -i)
|
LOOPBACKIP=$(dig a +short $HOSTNAME)
|
||||||
BRIDGE=br${CLUSTER}
|
BRIDGE=br${CLUSTER}
|
||||||
VXLAN=vxlan${CLUSTER}
|
VXLAN=vxlan${CLUSTER}
|
||||||
VNI=${CLUSTER}
|
VNI=${CLUSTER}
|
||||||
|
|
Loading…
Reference in New Issue