summaryrefslogtreecommitdiffstats
path: root/examples/README
diff options
context:
space:
mode:
Diffstat (limited to 'examples/README')
-rw-r--r--examples/README9
1 files changed, 8 insertions, 1 deletions
diff --git a/examples/README b/examples/README
index 4a6c5d41..77bf6a41 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).