quick fix for ifup since introduction of IPv6 loopback IPs

This commit is contained in:
toby 2018-09-13 23:51:03 +02:00
parent 002d2e0221
commit 05cb6ef35f
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ if ! [[ $CLUSTER =~ ^[0-9]+$ ]]; then
exit 10
fi
LOOPBACKIP=$(hostname -i)
LOOPBACKIP=$(dig a +short $HOSTNAME)
BRIDGE=br${CLUSTER}
VXLAN=vxlan${CLUSTER}
VNI=${CLUSTER}