X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=recipes%2FREADME;h=4361327251e387d2c09d97106be689dfc67c68d8;hp=6a1f72889b37f7f16c56635e9c0f3b5be0c049cc;hb=204d54609b4b3e4ca637f0ce2fe98c33ce9d008b;hpb=b86d7b975629ae099ad9a137ced6f23b17c1531a diff --git a/recipes/README b/recipes/README index 6a1f728..4361327 100644 --- a/recipes/README +++ b/recipes/README @@ -2,13 +2,13 @@ This directory contains guestfish-based shell which give some useful recipes to follow. These also get copied to the website here: -http://et.redhat.com/~rjones/libguestfs/recipes.html +http://libguestfs.org/recipes.html The format for each recipe is: foo.sh Shell script, using guestfish. - foo.html HTML snippet describing the recipe (should start - with

..

giving the title of the recipe) + foo.title The title of the recipe. + foo.html HTML snippet describing the recipe. foo.example Plain text snippet showing example output. Everything in the recipes/ directory may be used and distributed @@ -17,7 +17,7 @@ without restrictions. To run a script before libguestfs has been installed, you can do something like this: - LIBGUESTFS_PATH=.. PATH=../fish:$PATH ./show-devices.sh disk.img + LIBGUESTFS_PATH=../appliance PATH=../fish:$PATH ./show-devices.sh disk.img You can apply these recipes in your own programs by translating the guestfish commands into API calls in the language of your choice. The