[ Version ( since = "0.3" ) ]
public bool set_path (string? searchpath) throws Error
set the search path
Set the path that libguestfs searches for kernel and initrd.img.
The default is "$libdir/guestfs" unless overridden by setting LIBGUESTFS_PATH environment variable.
Setting path to NULL restores the default path.
| this |
A GuestfsSession object |
|
true on success, false on error |