X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=examples%2FREADME;h=77bf6a414e16ebe24bbbfa6f1648954b1e91ae9a;hb=4581eb2523eeb4d094d53af0555cb7e0f760ae2d;hp=4a6c5d416350fb6a5e782912cbec146950f10fb8;hpb=e83181345f8bedc8c3196184f3e3274c6a1c41a3;p=libguestfs.git 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).