mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Look for /lib/os-release in the /usr partition and try to use it, if present, before using lsb-release later on. This should not change the final result of the inspection, while using the os-release detection method also for CoreOS. Update the phony CoreOS image to use os-release instead, uploading the version found in the current stable version.
31 lines
907 B
XML
31 lines
907 B
XML
<?xml version="1.0"?>
|
|
<operatingsystems>
|
|
<operatingsystem>
|
|
<root>/dev/sda5</root>
|
|
<name>linux</name>
|
|
<distro>coreos</distro>
|
|
<product_name>CoreOS 899.13.0</product_name>
|
|
<major_version>899</major_version>
|
|
<minor_version>13</minor_version>
|
|
<hostname>coreos.invalid</hostname>
|
|
<format>installed</format>
|
|
<mountpoints>
|
|
<mountpoint dev="/dev/sda5">/</mountpoint>
|
|
<mountpoint dev="/dev/sda3">/usr</mountpoint>
|
|
</mountpoints>
|
|
<filesystems>
|
|
<filesystem dev="/dev/sda3">
|
|
<type>ext4</type>
|
|
<label>USR-A</label>
|
|
<uuid>01234567-0123-0123-0123-012345678901</uuid>
|
|
</filesystem>
|
|
<filesystem dev="/dev/sda5">
|
|
<type>ext4</type>
|
|
<label>ROOT</label>
|
|
<uuid>01234567-0123-0123-0123-012345678902</uuid>
|
|
</filesystem>
|
|
</filesystems>
|
|
<applications/>
|
|
</operatingsystem>
|
|
</operatingsystems>
|