inspect_get_hostname


Description:

[ Version ( since = "1.7.9" ) ]
public string inspect_get_hostname (string root) throws Error

get hostname of the operating system

This function returns the hostname of the operating system as found by inspection of the guest’s configuration files.

If the hostname could not be determined, then the string unknown is returned.

Please read "INSPECTION" in guestfs(3) for more details.

Parameters:

this

A GuestfsSession object

Returns:

the returned string, or NULL on error




2022 vala-language.org