summaryrefslogtreecommitdiffstats
path: root/recipes/tar2vm.example
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/tar2vm.example')
-rw-r--r--recipes/tar2vm.example8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes/tar2vm.example b/recipes/tar2vm.example
new file mode 100644
index 00000000..97a054f4
--- /dev/null
+++ b/recipes/tar2vm.example
@@ -0,0 +1,8 @@
+tar2vm.sh ../libguestfs-1.0.10.tar.gz /tmp/test.img 10M
+alloc /tmp/test.img 10M
+run
+sfdisk /dev/sda 0 0 0 ,
+mkfs ext3 /dev/sda1
+mount /dev/sda1 /
+tgz-in ../libguestfs-1.0.10.tar.gz /
+umount-all