[ovirt-devel] Adding /etc/ovirt-release

Christopher Pereira kripper at imatronix.cl
Fri Sep 11 16:25:29 UTC 2015


+1

On 11-09-2015 12:43, Fabian Deutsch wrote:
> Hey,
>
> I'd like to make it easier to discover what oVirt release is
> installed, and what potential variant (i.e Node) is used.
> Currently we are using some Node specific files to identify this "variant".
>
> With this patch [0] I'm suggesting to add the /etc/ovirt-release file,
> with the following contents:
>
> NAME=oVirt
> ID=ovirt
> VERSION="4.0 (master)"
> VERSION_ID=4.0
> PRETTY_NAME="oVirt 4.0"
> CPE_NAME="cpe:/a:ovirtproject:ovirt:4.0:dev"
> VARIANT=""
> VARIANT_ID=
>
> The variables are close to what is used by Fedora and CentOS.
> The variant field is left empty by default, but can be populated with
> defined values for variants like Node or i.e. a container variant.
>
> A CPE [1] is also included for convenience.
>
> Thoughts?
>
> - fabian
>
> --
> [0] https://gerrit.ovirt.org/#/c/46067/
> [1] http://cpe.mitre.org/
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20150911/7f402278/attachment-0001.html>


More information about the Devel mailing list