Centos support implemented
Allows to use Contrail plugin in Centos-based environments Change-Id: I07228bf1abcb7990943905b556fa06b02d72f85a
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
+++ /opt/contrail/utils/fabfile/tasks/install.py
|
||||
@@ -171,10 +171,7 @@
|
||||
run(cmd)
|
||||
|
||||
def yum_install(rpms, disablerepo = True):
|
||||
- if disablerepo:
|
||||
- cmd = "yum -y --nogpgcheck --disablerepo=* --enablerepo=contrail_install_repo install "
|
||||
- else:
|
||||
- cmd = "yum -y --nogpgcheck install "
|
||||
+ cmd = "yum -y --nogpgcheck install "
|
||||
os_type = detect_ostype()
|
||||
# redhat platform installs from multiple repos
|
||||
if os_type in ['redhat']:
|
||||
Reference in New Issue
Block a user