From 672700775400341dc162d20fa487f8036edf6e64 Mon Sep 17 00:00:00 2001 From: Bridget Kromhout Date: Fri, 2 Mar 2018 18:11:32 -0600 Subject: [PATCH] Missing variable --- prepare-vms/lib/commands.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/prepare-vms/lib/commands.sh b/prepare-vms/lib/commands.sh index f9cc6671..7b4a70d3 100644 --- a/prepare-vms/lib/commands.sh +++ b/prepare-vms/lib/commands.sh @@ -434,6 +434,7 @@ tag_is_reachable() { } test_tag() { + TAG=$1 ips_file=tags/$TAG/ips.txt info "Picking a random IP address in $ips_file to run tests." n=$((1 + $RANDOM % $(wc -l <$ips_file)))