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