mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
This file is mainly a central place to: - include localenv if it exists, and - define the RHEL 5 backwards compatibility macros, instead of spreading them over every other file. (cherry picked from commit49bdaabc7d) (cherry picked from commit7bc67024f0)
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