From 02cb076db485fde5500093d35abbf31d0d038978 Mon Sep 17 00:00:00 2001 From: Nikos Mimigiannis Date: Thu, 18 Jul 2019 12:01:51 +0300 Subject: Support of opensuse in OSH-XCI deploy-scenario:k8-calico-nofeature installer-type:osh Change-Id: Ie198ee7e25579f1438561f71fd965518b067fe42 Signed-off-by: Nikos Mimigiannis --- xci/config/user-vars | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'xci/config/user-vars') diff --git a/xci/config/user-vars b/xci/config/user-vars index 951688af..d3d7b2f1 100755 --- a/xci/config/user-vars +++ b/xci/config/user-vars @@ -34,6 +34,14 @@ export XCI_CEPH_ENABLED=${XCI_CEPH_ENABLED:-false} # export INSTALLER_TYPE="kubespray" export INSTALLER_TYPE=${INSTALLER_TYPE:-osa} +#Wait upstream in openstack-helm (OSH) to support opensuse +if [ "$XCI_DISTRO" == "opensuse" ] && [ "$INSTALLER_TYPE" == "osh" ]; then + export XCI_DISTRO=ubuntu-bionic + export OSH_DISTRO=opensuse +elif [ "$XCI_DISTRO" == "ubuntu" ] && [ "$INSTALLER_TYPE" == "osh" ]; then + export OSH_DISTRO=ubuntu +fi + #------------------------------------------------------------------------------- # Set DEPLOYMENT #------------------------------------------------------------------------------- -- cgit 1.2.3-korg