Prepare for 1.0.46.
[libguestfs.git] / recipes / tar2vm.sh
1 #!/bin/sh -
2
3 guestfish <<EOF
4 alloc $2 $3
5 run
6 sfdisk /dev/sda 0 0 0 ,
7 mkfs ext3 /dev/sda1
8 mount /dev/sda1 /
9 tgz-in $1 /
10 umount-all
11 EOF