From 05cb6ef35f875322649f3406244a190884399178 Mon Sep 17 00:00:00 2001 From: toby Date: Thu, 13 Sep 2018 23:51:03 +0200 Subject: [PATCH] quick fix for ifup since introduction of IPv6 loopback IPs --- files/qemu-ifup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/qemu-ifup b/files/qemu-ifup index db6845c..12f4e93 100755 --- a/files/qemu-ifup +++ b/files/qemu-ifup @@ -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}