X-Git-Url: https://git.madduck.net/code/vinst.git/blobdiff_plain/cb12e1c6c685eb75400e90f8801b571258c412d0..0b7f92c7dc6c54c5ddc6057e8640ac909c721fe4:/vinst?ds=inline diff --git a/vinst b/vinst index 06f4a25..6b6ca5d 100755 --- a/vinst +++ b/vinst @@ -173,6 +173,7 @@ echo >&2 virsh --connect=$QEMU_URI vol-create-as $STORAGE_POOL virt-$HOSTNAME ${DISK}G if [ $WIPE = 1 ]; then + echo >&2 "Wiping disk…" virsh --connect=$QEMU_URI vol-wipe --pool $STORAGE_POOL --algorithm zero virt-$HOSTNAME fi @@ -200,6 +201,6 @@ virt-install --connect=$QEMU_URI \ virsh --connect=$QEMU_URI console $HOSTNAME -if [ $RESTART = 1]; then +if [ $RESTART = 1 ]; then virsh --connect=$QEMU_URI "start $HOSTNAME; console $HOSTNAME" fi