Skip to content

Commit 7a5f7f2

Browse files
author
Armando Migliaccio
committed
bug 986401: xe vm-shutdown expects running instances in os_install_domU.sh
do not fail if the instance is already halted. Change-Id: Id080535c1eb008c9fc7335c9004318bbfb41e1f7
1 parent 32d847d commit 7a5f7f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/xen/install_os_domU.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ if [ "$DO_SHUTDOWN" = "1" ]; then
150150
for uuid in `xe vm-list | grep -1 instance | grep uuid | sed "s/.*\: //g"`; do
151151
echo "Shutting down nova instance $uuid"
152152
xe vm-unpause uuid=$uuid || true
153-
xe vm-shutdown uuid=$uuid
153+
xe vm-shutdown uuid=$uuid || true
154154
xe vm-destroy uuid=$uuid
155155
done
156156

0 commit comments

Comments
 (0)