aboutsummaryrefslogtreecommitdiff
path: root/contrib/demos/magnum/stop
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/demos/magnum/stop')
-rwxr-xr-xcontrib/demos/magnum/stop9
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/demos/magnum/stop b/contrib/demos/magnum/stop
index 67da543e0..c99ca26ec 100755
--- a/contrib/demos/magnum/stop
+++ b/contrib/demos/magnum/stop
@@ -1,8 +1,9 @@
#!/bin/bash
-magnum bay-delete testbay
-while magnum bay-list | grep -q testbay; do
+echo "Deleting cluster"
+magnum cluster-delete testcluster
+while magnum cluster-list | grep -q testcluster; do
sleep 1
done
-magnum baymodel-delete testbaymodel
-
+echo "Deleting cluster-template"
+magnum cluster-template-delete testclustertemplate