Files
libguestfs/perl/examples
Richard W.M. Jones d67e6ea75d Replace mount-options with mount where appropriate.
Since our minimum supported version is now 1.16 and mount was fixed in
1.13.16, it is now safe to replace mount-options + empty options with
mount wherever it occurs.
2012-08-18 22:08:29 +01:00
..

This directory contains various example programs which use the perl
Sys::Guestfs bindings to the libguestfs API.

As they are examples, these are licensed so they can be freely copied
and used without any restrictions.

Tips:

(1) To enable verbose messages, set environment variable LIBGUESTFS_DEBUG=1

(2) To run a program without installing the library, set PERL5LIB and
LIBGUESTFS_PATH as in this example (if run from the root directory of
the source distribution):

  LIBGUESTFS_PATH=$(pwd)/appliance \
  PERL5LIB=$(pwd)/perl/blib/lib:$(pwd)/perl/blib/arch/auto/Sys/Guestfs \
  perl/examples/foo