Merge "Update cloud image CentOS7 devstack rocky"
[releng/builder.git] / jjb / integration / integration-get-slave-addresses.sh
index 9f57dfc7ae72388bb329bfc6da15c2545330008c..2546d31f68c819b3315cf640a5d1749d03116286 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -l
 # Get the Controller and Tools VM slave addresses
 
 set -x
@@ -8,9 +8,6 @@ TOOLS_SYSTEM=()
 OPENSTACK_SYSTEM=()
 OPENSTACK_CONTROLLERS=()
 
-OPENSTACK_VENV="/tmp/v/openstack"
-# shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091
-source $OPENSTACK_VENV/bin/activate
 mapfile -t ADDR <<< "$(openstack stack show -f json -c outputs "$STACK_NAME" | jq -r '.outputs[] | select(.output_key | match("^vm_[0-9]+_ips$")) | .output_value | .[]')"
 
 # The next two blocks of code will parse the list of vm IP's hostnames to determine which type of node