From befd25d429aa9e10aff6fe7f4dcfe09ec1363d06 Mon Sep 17 00:00:00 2001 From: N Date: Tue, 10 Jul 2018 17:03:27 +0100 Subject: [PATCH] fix for opensuse15 if no lsb_release pkg --- bootstrap-salt.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 0f72cd8..a489989 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -1089,10 +1089,14 @@ __gather_linux_system_info() { n="Debian" v=$(__derive_debian_numeric_version "$v") ;; - sles|opensuse ) + sles ) n="SUSE" v="${rv}" ;; + opensuse-leap ) + n="opensuse" + v="${rv}" + ;; * ) n=${nn} ;;