Displaying 3 results from an estimated 3 matches for "inspect_get_osinfo".
2018 Feb 21
0
[PATCH] make-repository: use inspect_get_osinfo
...in
let inspected_arch = g#inspect_get_arch root in
let product = g#inspect_get_product_name root in
- let distro = g#inspect_get_distro root in
- let version_major = g#inspect_get_major_version root in
- let version_minor = g#inspect_get_minor_version root in
+ let shortid = g#inspect_get_osinfo root in
let lvs = g#lvs () in
let filesystems = g#inspect_get_filesystems root in
- let shortid = compute_short_id distro version_major version_minor in
-
g#close ();
let id =
--
2.14.3
2018 Feb 21
3
[PATCH] New API: inspect_get_osinfo
...nerator/actions_inspection.ml b/generator/actions_inspection.ml
index d8cf571c9..d913f53e3 100644
--- a/generator/actions_inspection.ml
+++ b/generator/actions_inspection.ml
@@ -774,4 +774,18 @@ advice before using trademarks in applications.
=back" };
+ { defaults with
+ name = "inspect_get_osinfo"; added = (1, 39, 1);
+ style = RString (RPlainString, "id"), [String (Mountable, "root")], [];
+ shortdesc = "get a possible osinfo short ID corresponding to this operating system";
+ longdesc = "\
+This function returns a possible short ID for libo...
2019 Jan 17
0
ANNOUNCE: libguestfs 1.40 released
...security(1).
CVE-2018-11806
Qemu's slirp (userspace networking) had several buffer overflows which
could be triggered from the guest or network side.
API
New APIs
"f2fs_expand"
Expand an f2fs filesystem (Pino Toscano).
"inspect_get_osinfo"
Get the libosinfo short ID for the inspected guest (Pino Toscano).
"lvm_scan"
This rescans all PVs, VGs and LVs, optionally activating them.
Other API changes
"part_get_mbr_part_type" was reimplemented in OCaml (Nikolay Ivanets...