From 7d590225af9b44339b435ff4c05f6520a2f79767 Mon Sep 17 00:00:00 2001 From: Romain Dartigues Date: Sat, 10 Feb 2024 20:50:12 +0100 Subject: [PATCH] introduce Clear Linux OS in explorers Note: there is no LSB on Clear Linux, but the latter part (`rc_getvar /usr/lib/os-release VERSION_ID`) does work. --- cdist/conf/explorer/os_version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist/conf/explorer/os_version b/cdist/conf/explorer/os_version index fc59fd14..9d272dae 100755 --- a/cdist/conf/explorer/os_version +++ b/cdist/conf/explorer/os_version @@ -138,7 +138,7 @@ in cat /etc/SuSE-release fi ;; - ubuntu) + clear-linux-os|ubuntu) if command -v lsb_release >/dev/null 2>&1 then lsb_release -sr