Merge "Add a swap file to build machines"
[releng/builder.git] / jjb / odl-openstack-cleanup-orphaned-nodes.sh
index 1b7f0c68e47389c6ab0d7cd2f2d63f12bf48b0f2..c3c6b35a24e23c25b85e77ff60dd2851ee8d2dc1 100644 (file)
@@ -50,15 +50,10 @@ source "/tmp/v/openstack/bin/activate"
 # shellcheck disable=SC2207
 mapfile -t OS_SERVERS < <(openstack server list -f value -c "Name" | grep -E 'prd|snd')
 
-deactivate
-
 #############################
 ## DELETE ORPHANED SERVERS ##
 #############################
 
-# shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
-source "/tmp/v/lftools/bin/activate"
-
 # Search for servers that are not in use by either releng or sandbox silos and
 # delete them.
 for server in "${OS_SERVERS[@]}"; do