diff options
-rwxr-xr-x | create-guest-with-cloudinit | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/create-guest-with-cloudinit b/create-guest-with-cloudinit index 7df00cd..7a0037c 100755 --- a/create-guest-with-cloudinit +++ b/create-guest-with-cloudinit @@ -87,6 +87,9 @@ if [ $? -eq 0 ]; then fail "Domain $vmname is defined in libvirt. Please undefin lvcreate -L ${size}g -n $vmname $VG + +sleep 4 + virt-clone --connect $KVM_URI -o leap-baseimage-wheezy -n $vmname -f /dev/$VG/$vmname --force # resize second (root) partition |