Generic partition creation interface.
[libguestfs.git] / recipes / tar2vm.sh
index d71a5ef..713e9e3 100755 (executable)
@@ -3,7 +3,7 @@
 guestfish <<EOF
 alloc $2 $3
 run
-sfdisk /dev/sda 0 0 0 ,
+part-disk /dev/sda mbr
 mkfs ext3 /dev/sda1
 mount /dev/sda1 /
 tgz-in $1 /