diff options
author | 2018-08-10 13:00:41 +0000 | |
---|---|---|
committer | 2018-08-10 13:00:42 +0000 | |
commit | 4002c126504df3da4dc79ca9669546277e926889 (patch) | |
tree | bdf4eaaf06dd6843abacb2f145f6af8d964cf1c3 /xci/config | |
parent | 21d793a1af489d8e68ad933adf7dfe10988344a4 (diff) | |
parent | fb1e2a6368f1f8e7e6a999ea714d76f97c38fb22 (diff) |
Merge "xci-lib: Allow more openSUSE IDs"
Diffstat (limited to 'xci/config')
-rwxr-xr-x | xci/config/user-vars | 2 |
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} #------------------------------------------------------------------------------- |