inspect_get_osinfo


Description:

[ Version ( since = "1.39.1" ) ]
public string inspect_get_osinfo (string root) throws Error

get a possible osinfo short ID corresponding to this operating system

This function returns a possible short ID for libosinfo corresponding to the guest.

*Note:* The returned ID is only a guess by libguestfs, and nothing ensures that it actually exists in osinfo-db.

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

Parameters:

this

A GuestfsSession object

Returns:

the returned string, or NULL on error