set_path


Description:

[ 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.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error