summaryrefslogtreecommitdiffstats
path: root/xci/config/user-vars
diff options
context:
space:
mode:
Diffstat (limited to 'xci/config/user-vars')
-rwxr-xr-xxci/config/user-vars2
1 files changed, 1 insertions, 1 deletions
diff --git a/xci/config/user-vars b/xci/config/user-vars
index 1f30ec38..2625de24 100755
--- a/xci/config/user-vars
+++ b/xci/config/user-vars
@@ -21,7 +21,7 @@
# export XCI_FLAVOR="ha"
#-------------------------------------------------------------------------------
export XCI_FLAVOR=${XCI_FLAVOR:-mini}
-export XCI_DISTRO=${XCI_DISTRO:-$(source /etc/os-release &>/dev/null || source /usr/lib/os-release &>/dev/null; echo ${ID,,})}
+export XCI_DISTRO=${XCI_DISTRO:-$(source /etc/os-release &>/dev/null || source /usr/lib/os-release &>/dev/null; ID=${ID%%-*}; echo ${ID,,})}
export XCI_CEPH_ENABLED=${XCI_CEPH_ENABLED:-false}
#-------------------------------------------------------------------------------