summaryrefslogtreecommitdiff
path: root/demos/magnum/stop
diff options
context:
space:
mode:
Diffstat (limited to 'demos/magnum/stop')
-rwxr-xr-xdemos/magnum/stop8
1 files changed, 8 insertions, 0 deletions
diff --git a/demos/magnum/stop b/demos/magnum/stop
new file mode 100755
index 000000000..67da543e0
--- /dev/null
+++ b/demos/magnum/stop
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+magnum bay-delete testbay
+while magnum bay-list | grep -q testbay; do
+ sleep 1
+done
+magnum baymodel-delete testbaymodel
+