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/77/10177/1 diff --git a/vdsm/caps.py b/vdsm/caps.py index 0438fb4..02a533d 100644 --- a/vdsm/caps.py +++ b/vdsm/caps.py @@ -229,7 +229,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/10177 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I58efd4660f94b2f68ead470a54f0f301a1b9b4ba Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: ovirt-3.2 Gerrit-Owner: Douglas Schilling Landgraf <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
