From 323e42697713eed47bf6218265f62caf6f92cfe9 Mon Sep 17 00:00:00 2001 From: Balazs Szollosi Date: Tue, 10 Jul 2018 11:54:33 +0300 Subject: [PATCH] First commit of something Something is a new tool to delete something else Also added to delete something completely different Change-Id: Ic1d1c452034c9918487da04d5fe2f0227091b9d7 Signed-off-by: Balazs Szollosi --- something.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 something.sh diff --git a/something.sh b/something.sh new file mode 100644 index 000000000..8a8c32fc4 --- /dev/null +++ b/something.sh @@ -0,0 +1,13 @@ +#! /bin/bash + +nodes=$(openstack baremetal node list -c UUID -f value) +for node in $nodes +do + openstack baremetal node delete ${node} +done + +networks=$(openstack network list -c ID -f value) +for network in $networks +do + openstack network delete ${network} +done