summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTapio Tallgren <tapio.tallgren@nokia.com>2018-01-08 08:48:35 +0200
committerTapio Tallgren <tapio.tallgren@nokia.com>2018-01-15 13:04:13 +0200
commit862219cb61d57598029fc3dfe21923ccd00df257 (patch)
treecf0d1c6709633fd25fbcd3f7382dbec640bc1be0
parent8a3017299b8b78e16c91f8e0c091aee244137d46 (diff)
Enable running on CentOS/RedHat family
Changes that make it possible to run XCI on CentOS: - Remove the check on xci-deploy.sh script that exists on RedHat family (including CentOS) and making the error into a warning. - Add centos to a distro in opnfv-scenario-requirements Change-Id: Ief6f1e50d8c7c9d8787641827e57682a6e0549e4 Signed-off-by: Tapio Tallgren <tapio.tallgren@nokia.com>
-rw-r--r--xci/opnfv-scenario-requirements.yml1
-rwxr-xr-xxci/xci-deploy.sh8
2 files changed, 4 insertions, 5 deletions
diff --git a/xci/opnfv-scenario-requirements.yml b/xci/opnfv-scenario-requirements.yml
index 929d88eb..3388b803 100644
--- a/xci/opnfv-scenario-requirements.yml
+++ b/xci/opnfv-scenario-requirements.yml
@@ -40,6 +40,7 @@
distros:
- opensuse
- ubuntu
+ - centos
- scenario: os-odl-nofeature
scm: git
diff --git a/xci/xci-deploy.sh b/xci/xci-deploy.sh
index 99053c7e..ec2598f8 100755
--- a/xci/xci-deploy.sh
+++ b/xci/xci-deploy.sh
@@ -121,13 +121,11 @@ case ${XCI_DISTRO,,} in
;;
esac
-# There is no CentOS support at all
if [[ ${XCI_DISTRO,,} == centos ]]; then
echo ""
- echo "Error: Sorry, only Ubuntu and SUSE hosts are supported for now!"
- echo "Error: CentOS 7 support is still work in progress."
- echo ""
- exit 1
+ echo "Warning: Only Ubuntu and SUSE hosts are fully supported for now!"
+ echo "Warning: CentOS 7 support is still work in progress."
+ echo
fi
# Clone OPNFV scenario repositories