X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=examples%2FREADME;h=77bf6a414e16ebe24bbbfa6f1648954b1e91ae9a;hp=4a6c5d416350fb6a5e782912cbec146950f10fb8;hb=7fe2b338e4102a23ecd2f89b447b7618f0e93312;hpb=197f0ceeac625a20b923b274c6025eb0ccaeaed1 diff --git a/examples/README b/examples/README index 4a6c5d4..77bf6a4 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=. examples/to-xml +(the path should point to the directory containing vmlinuz.* and +initramfs.* files).