summaryrefslogtreecommitdiffstats
path: root/xci/files/xci-lib.sh
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-08-10 13:24:00 +0300
committerMarkos Chandras <mchandras@suse.de>2018-08-10 13:29:52 +0300
commitfb1e2a6368f1f8e7e6a999ea714d76f97c38fb22 (patch)
tree30dcc198bd2c4e32ba54468776a4c0dc93db1fc3 /xci/files/xci-lib.sh
parent633523bdadee2617573cdbafa7d24269da738db8 (diff)
xci-lib: Allow more openSUSE IDs
Leap 15 is using ID=opensuse-leap and Tumbleweed is using ID=opensuse-tumbleweed so we should extend the regexp to match these distributions as well. This allows XCI to support more openSUSE variants as deployment hosts. Change-Id: I8bf8e7b15fc00c45807ff92fbc14d7ec79ec4bcb Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/files/xci-lib.sh')
-rw-r--r--xci/files/xci-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/xci/files/xci-lib.sh b/xci/files/xci-lib.sh
index 060dc267..064b9f68 100644
--- a/xci/files/xci-lib.sh
+++ b/xci/files/xci-lib.sh
@@ -55,7 +55,7 @@ function install_ansible() {
source /etc/os-release || source /usr/lib/os-release
case ${ID,,} in
- *suse)
+ *suse*)
OS_FAMILY="Suse"
INSTALLER_CMD="sudo -H -E zypper -q install -y --no-recommends"
CHECK_CMD="zypper search --match-exact --installed"