From 61e0a2e0da571c67ea25b708668be7a1ffe2805a Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Mon, 24 Oct 2011 12:47:13 -0700 Subject: [PATCH] don't explode if domain doesn't already exist in build_kvm.sh --- tools/build_kvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build_kvm.sh b/tools/build_kvm.sh index cc63ba2..38a4943 100755 --- a/tools/build_kvm.sh +++ b/tools/build_kvm.sh @@ -58,7 +58,7 @@ BASE_IMAGE=$KVMSTACK_DIR/images/$DIST_NAME.raw VM_IMAGE=$IMAGES_DIR/$DIST_NAME.$GUEST_NAME.raw # Mop up after previous runs -virsh destroy $GUEST_NAME +virsh destroy $GUEST_NAME || true # Where this vm is stored VM_DIR=$KVMSTACK_DIR/instances/$GUEST_NAME