Files
sandbox/something.sh
Balazs Szollosi 323e426977 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 <balazs.szollosi@nokia.com>
2018-07-10 12:24:37 +03:00

14 lines
265 B
Bash

#! /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