don't explode if domain doesn't already exist in build_kvm.sh
This commit is contained in:
parent
b169b6354d
commit
61e0a2e0da
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue