1 <h2>Make a virtual machine out of a tarball</h2>
4 This script shows how you might generate a whole virtual
5 machine, or a disk image for a virtual machine, starting
6 with a tarball that contains the content for the machine.
14 tar2vm.sh input.tar.gz output.img 100M
18 where (for example) <code>100M</code> is the size of the output
19 disk image. You have to specify a size that is large enough to contain all
20 the contents of the tarball, but not too large that there is too much
21 wasted space (unless you want to give the VM extra working space of