aboutsummaryrefslogtreecommitdiffstats
path: root/clean.sh
diff options
context:
space:
mode:
Diffstat (limited to 'clean.sh')
-rwxr-xr-xclean.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/clean.sh b/clean.sh
new file mode 100755
index 00000000..69aab1bf
--- /dev/null
+++ b/clean.sh
@@ -0,0 +1,6 @@
+#! /bin/bash
+echo cleaning Ip
+
+sed -i -e '/demo1/{n;N;N;N;N;N;d}' /etc/ansible/hosts
+neutron floatingip-delete $(neutron floatingip-list| grep "17" | awk '{print $2;}')
+heat stack-delete exp2