suppress sfdisk warnings
authorvarac <varacanero@zeromail.org>
Tue, 16 Oct 2012 18:19:50 +0000 (20:19 +0200)
committervarac <varacanero@zeromail.org>
Tue, 16 Oct 2012 18:19:50 +0000 (20:19 +0200)
create-guest-with-cloudinit

index ad1e26f..e1f6e75 100755 (executable)
@@ -90,7 +90,7 @@ lvcreate -L ${size}g -n $vmname $VG
 virt-clone --connect $KVM_URI -o leap-baseimage-wheezy -n $vmname -f /dev/$VG/$vmname  --force
 
 # resize second (root) partition
-echo ",+," | sfdisk  -N2  /dev/$VG/$vmname > /dev/null
+echo ",+," | sfdisk -q  -N2  /dev/$VG/$vmname > /dev/null 2>&1
 
 
 # create cloudinit seed disk