From Dan Kenigsberg <[email protected]>: Dan Kenigsberg has submitted this change and it was merged.
Change subject: ngn: grab OS version according with /etc/os-release ...................................................................... ngn: grab OS version according with /etc/os-release Currently, OS version can be extracted from RPM naming like: redhat-release-server-7.3-6.el7.rpm, in this case: version: 7.3, release 6.el7 However, for NGN systems, redhat-release-server rpm is not available, only ovirt-release-host-node and redhat-release-virtualization-host. Based on that, this patch extract version from /etc/os-release (VERSION_ID). Change-Id: I1f35d8f2221c07a38e9d75b96324315266b0d51a Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1368364 Signed-off-by: Douglas Schilling Landgraf <[email protected]> --- M lib/vdsm/osinfo.py 1 file changed, 48 insertions(+), 8 deletions(-) Approvals: Piotr Kliczewski: Looks good to me, approved Douglas Schilling Landgraf: Verified Martin Peřina: Looks good to me, but someone else must approve Jenkins CI: Passed CI tests Dan Kenigsberg: Looks good to me, but someone else must approve -- To view, visit https://gerrit.ovirt.org/72829 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I1f35d8f2221c07a38e9d75b96324315266b0d51a Gerrit-PatchSet: 6 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Douglas Schilling Landgraf <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Douglas Schilling Landgraf <[email protected]> Gerrit-Reviewer: Fabian Deutsch <[email protected]> Gerrit-Reviewer: Ido Rosenzwig <[email protected]> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Martin Peřina <[email protected]> Gerrit-Reviewer: Oved Ourfali <[email protected]> Gerrit-Reviewer: Piotr Kliczewski <[email protected]> Gerrit-Reviewer: Ryan Barry <[email protected]> Gerrit-Reviewer: Sandro Bonazzola <[email protected]> Gerrit-Reviewer: Yuval Turgeman <[email protected]> Gerrit-Reviewer: gerrit-hooks <[email protected]> _______________________________________________ vdsm-patches mailing list -- [email protected] To unsubscribe send an email to [email protected]
