From 123e75d2f7d026c050cdcf1cd74cf0a22a3e68b8 Mon Sep 17 00:00:00 2001 From: Jordan Sokolic Date: Sat, 12 Sep 2020 20:42:32 +0300 Subject: [PATCH] [skip ci] wrong var name --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index a8d6913..29437d5 100755 --- a/run.sh +++ b/run.sh @@ -78,7 +78,7 @@ function _set_hairpin() { } function _create_or_start_container() { - docker inspect $BUILD_TAG >/dev/null 2>&1 || { echo "no image '$BUILD_TAG' found, did you forget to run 'make build'?"; exit 1; } + docker inspect $IMAGE_TAG >/dev/null 2>&1 || { echo "no image '$IMAGE_TAG' found, did you forget to run 'make build'?"; exit 1; } if docker inspect $CONTAINER >/dev/null 2>&1; then echo "* starting container '$CONTAINER'" @@ -96,7 +96,7 @@ function _create_or_start_container() { --sysctl net.netfilter.nf_conntrack_acct=1 \ --sysctl net.ipv6.conf.all.disable_ipv6=0 \ --sysctl net.ipv6.conf.all.forwarding=1 \ - --name $CONTAINER $BUILD_TAG >/dev/null + --name $CONTAINER $IMAGE_TAG >/dev/null docker network connect $WAN_NAME $CONTAINER _gen_config