commit | 2cec3dc846e5202c2cdf0f3f829a588392514d74 | [log] [tgz] |
---|---|---|
author | Anthony Young <sleepsonthefloor@gmail.com> | Wed Nov 02 07:03:38 2011 -0500 |
committer | Anthony Young <sleepsonthefloor@gmail.com> | Wed Nov 02 07:03:38 2011 -0500 |
tree | 942eb4b2b72ad559e3172934e754fe46746e3cb3 | |
parent | 4bd41ad77f9bc26b64a3a4362f787f5c9814f29a [diff] [blame] |
unpause paused instances before terminating
diff --git a/tools/xen/build_domU.sh b/tools/xen/build_domU.sh index 8e40225..c7bb3d1 100755 --- a/tools/xen/build_domU.sh +++ b/tools/xen/build_domU.sh
@@ -229,6 +229,7 @@ # Destroy any instances that were launched for uuid in `xe vm-list | grep -1 instance | grep uuid | sed "s/.*\: //g"`; do echo "Shutting down nova instance $uuid" + xe vm-unpause uuid=$uuid || true xe vm-shutdown uuid=$uuid xe vm-destroy uuid=$uuid done