inspector: Add comment about why --fish option implies write mode.
[libguestfs.git] / recipes / tar2vm.sh
1 #!/bin/sh -
2
3 guestfish <<EOF
4 alloc $2 $3
5 run
6 part-disk /dev/sda mbr
7 mkfs ext3 /dev/sda1
8 mount /dev/sda1 /
9 tgz-in $1 /
10 umount-all
11 EOF