Douglas Schilling Landgraf has uploaded a new change for review. Change subject: caps.py: osversion() validate OVIRT ......................................................................
caps.py: osversion() validate OVIRT Currently we are only validating RHEV-H node. This patch will validate oVirt node as well in osversion(). Change-Id: I58efd4660f94b2f68ead470a54f0f301a1b9b4ba Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=873917 Signed-off-by: Douglas Schilling Landgraf <[email protected]> --- M vdsm/caps.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/70/10070/1 diff --git a/vdsm/caps.py b/vdsm/caps.py index d1297c9..2e35d75 100644 --- a/vdsm/caps.py +++ b/vdsm/caps.py @@ -226,7 +226,7 @@ osname = getos() try: - if osname == OSName.RHEVH: + if osname == OSName.RHEVH or osname == OSName.OVIRT: d = _parseKeyVal(file('/etc/default/version')) version = d.get('VERSION', '') release = d.get('RELEASE', '') -- To view, visit http://gerrit.ovirt.org/10070 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I58efd4660f94b2f68ead470a54f0f301a1b9b4ba Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Douglas Schilling Landgraf <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
