X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=examples%2FREADME;h=408d6a23840e5b6843ad84c91982ad4725e820d5;hp=4a6c5d416350fb6a5e782912cbec146950f10fb8;hb=ed74706d80394fef709ec0258fc5cf7d974ff8b1;hpb=e83181345f8bedc8c3196184f3e3274c6a1c41a3 diff --git a/examples/README b/examples/README index 4a6c5d4..408d6a2 100644 --- a/examples/README +++ b/examples/README @@ -4,5 +4,12 @@ libguestfs API. As they are examples, these are licensed so they can be freely copied and used without any restrictions. -Tip: To enable verbose messages, set environment variable +Tips: + +(1) To enable verbose messages, set environment variable LIBGUESTFS_DEBUG=1 + +(2) If you haven't installed libguestfs, run the examples like this: +LIBGUESTFS_PATH=appliance examples/to-xml +(the path should point to the directory containing vmlinuz.* and +initramfs.* files).