[Libguestfs] [PATCH] inspect: try to use /etc/os-release on Linux guests

Olaf Hering olaf at aepfle.de
Wed Sep 9 13:54:10 UTC 2015


Just poked around in my =libguestfs folder...

On Wed, Sep 09, Pino Toscano wrote:

> +    if (STRPREFIX (line, "ID=")) {

This is not handled:

NAME="SLES"
VERSION="12"
VERSION_ID="12"
PRETTY_NAME="SUSE Linux Enterprise Server 12"
ID="sles"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:12"

Olaf




More information about the Libguestfs mailing list