git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added guestfish recipes.
[libguestfs.git]
/
recipes
/
tar2vm.example
diff --git a/recipes/tar2vm.example
b/recipes/tar2vm.example
new file mode 100644
(file)
index 0000000..
97a054f
--- /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