diff options
author | Nikos Mimigiannis <nmimi@intracom-telecom.com> | 2019-07-18 12:01:51 +0300 |
---|---|---|
committer | Manuel Buil <mbuil@suse.com> | 2019-08-05 15:06:45 +0200 |
commit | 02cb076db485fde5500093d35abbf31d0d038978 (patch) | |
tree | 3dc0c07957458b27c16adbe37c6db9e7e188cb45 /xci/config/user-vars | |
parent | 0d6907e04a51aface7ed6cd456f4e20f2d2ad0e2 (diff) |
Support of opensuse in OSH-XCI
deploy-scenario:k8-calico-nofeature
installer-type:osh
Change-Id: Ie198ee7e25579f1438561f71fd965518b067fe42
Signed-off-by: Nikos Mimigiannis <nmimi@intracom-telecom.com>
Diffstat (limited to 'xci/config/user-vars')
-rwxr-xr-x | xci/config/user-vars | 8 |
1 files changed, 8 insertions, 0 deletions
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 #------------------------------------------------------------------------------- |