]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
Support install on rhel7
authorDavid Vossel <dvossel@redhat.com>
Mon, 30 Jun 2014 17:01:19 +0000 (12:01 -0500)
committerAlfredo Deza <alfredo.deza@inktank.com>
Mon, 30 Jun 2014 18:14:01 +0000 (14:14 -0400)
ceph_deploy/hosts/centos/install.py

index f66c91ecc39c9c778eed2d2df008cf0623e708a0..8e624d82e7cefc746ce6533509e18713ea9adc91 100644 (file)
@@ -20,6 +20,8 @@ def repository_url_part(distro):
     if distro.normalized_name == 'redhat':
         if distro.release.startswith('6'):
             return 'rhel6'
+        elif distro.release.startswith('7'):
+            return 'rhel7'
     return 'el6'