[ Version ( since = "1.49.8" ) ]
public string inspect_get_build_id (string root) throws Error
get the system build ID
This returns the build ID of the system, or the string "unknown" if the system does not have a build ID.
For Windows, this gets the build number. Although it is returned as a string, it is (so far) always a number. See <ulink url='https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions'> http://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions </ulink> for some possible values.
For Linux, this returns the BUILD_ID string from /etc/os-release, although this is not often used.
Please read "INSPECTION" in guestfs(3) for more details.
| this |
A GuestfsSession object |
|
the returned string, or NULL on error |