From c0b072ee944330f97e7eb3b03df79bf9494e6b9a Mon Sep 17 00:00:00 2001 From: "juraj.linkes" Date: Thu, 18 May 2017 10:25:43 +0200 Subject: Added script for resource cleanup This script can be either run from jumphost or overcloud nodes. If run from jumphost, it will clean all resources on all nodes as well as openstack resources. If run from an overcloud node, it will clean resources on that node. The script supports whitelisting and exclusion of resources to be cleaned. Change-Id: I46c937dc31a1ed4b9be1d641183c9cc3b42bbb2d Signed-off-by: juraj.linkes --- scripts/remount_vpp_into_odl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/remount_vpp_into_odl.sh') diff --git a/scripts/remount_vpp_into_odl.sh b/scripts/remount_vpp_into_odl.sh index 9a67b6a..e794f23 100755 --- a/scripts/remount_vpp_into_odl.sh +++ b/scripts/remount_vpp_into_odl.sh @@ -1,6 +1,6 @@ #!/bin/bash script_dir=$(dirname $0) -. $script_dir/variables.sh +. $script_dir/lib.sh overcloud_node_ips=$(grep -E "$NODE_PATTERN-[^-]+-[0-9]" /etc/hosts | grep -Eo '([0-9]{1,3}.){3}[0-9]{1,3}') for overcloud_node_ip in $overcloud_node_ips -- cgit 1.2.3-korg