don't explode if domain doesn't already exist in build_kvm.sh

This commit is contained in:
Jesse Andrews 2011-10-24 12:47:13 -07:00
parent b169b6354d
commit 61e0a2e0da

View file

@ -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