From c1f9ae1033e43aad01d4a122eb0f6797392f069c Mon Sep 17 00:00:00 2001 From: Lars Ekman Date: Fri, 20 Sep 2019 09:54:14 +0200 Subject: [PATCH] Set __dns_spoof to a default value --- Envsettings.k8s | 1 + 1 file changed, 1 insertion(+) diff --git a/Envsettings.k8s b/Envsettings.k8s index a47515f5..a78fd45b 100644 --- a/Envsettings.k8s +++ b/Envsettings.k8s @@ -28,6 +28,7 @@ curl -L \$armurl/xcluster/images/hd-k8s.img.xz | xz -d > \$__image EOF alias images="$($XCLUSTER ovld images)/images.sh" +test -n "$__dns_spoof" || export __dns_spoof=$XCLUSTER_WORKSPACE/xcluster/dns-spoof.txt mynetns=$(ip netns id $$) if ! netstat -lutan | grep -q :::10053; then