4286a50113
Magnum demo scripts doesn't work cause compose/openstack.env doesn't exist anymore. * NETWORK_MANAGER check has been removed * script has been updated to use Openstack client instead of deprecated clients (neutron-client, glance-client). * Magnum client calls have been adapted too. * some enhancements (logs, variable) have been performed too. Change-Id: I294b1876c9c7090785c0ebdd09b43843f88fb00b Closes-Bug: #1670618
10 lines
224 B
Bash
Executable File
10 lines
224 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Deleting cluster"
|
|
magnum cluster-delete testcluster
|
|
while magnum cluster-list | grep -q testcluster; do
|
|
sleep 1
|
|
done
|
|
echo "Deleting cluster-template"
|
|
magnum cluster-template-delete testclustertemplate
|