Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: vdsm/sofware: Add CentOS
......................................................................

vdsm/sofware: Add CentOS

Adding in validation centos distro

Change-Id: I6adc6406341ff028228f39e57d1b16e34adaa661
Signed-off-by: Douglas Schilling Landgraf <dougsl...@redhat.com>
---
M src/plugins/ovirt-host-deploy/vdsm/software.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy 
refs/changes/50/11550/1

diff --git a/src/plugins/ovirt-host-deploy/vdsm/software.py 
b/src/plugins/ovirt-host-deploy/vdsm/software.py
index 60613dc..425cd31 100644
--- a/src/plugins/ovirt-host-deploy/vdsm/software.py
+++ b/src/plugins/ovirt-host-deploy/vdsm/software.py
@@ -43,7 +43,7 @@
     )
     def _validation(self):
         dist, ver = platform.linux_distribution(full_distribution_name=0)[:2]
-        if dist == 'redhat':
+        if dist == 'redhat' or dist == 'centos':
             if LooseVersion(ver) < LooseVersion('6.2'):
                 raise RuntimeError(
                     _(


--
To view, visit http://gerrit.ovirt.org/11550
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6adc6406341ff028228f39e57d1b16e34adaa661
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to