set_backend_settings


Description:

[ Version ( since = "1.25.24" ) ]
public bool set_backend_settings (string[] settings) throws Error

replace per-backend settings strings

Set a list of zero or more settings which are passed through to the current backend. Each setting is a string which is interpreted in a backend-specific way, or ignored if not understood by the backend.

The default value is an empty list, unless the environment variable LIBGUESTFS_BACKEND_SETTINGS was set when the handle was created. This environment variable contains a colon-separated list of settings.

This call replaces all backend settings. If you want to replace a single backend setting, see set_backend_setting. If you want to clear a single backend setting, see clear_backend_setting.

See "BACKEND" in guestfs(3), "BACKEND SETTINGS" in guestfs(3).

Parameters:

this

A GuestfsSession object

settings

an array of strings

Returns:

true on success, false on error