From 2a01fee08ca66059eac96f81dbf64080a040f012 Mon Sep 17 00:00:00 2001 From: Sam Connolly Date: Thu, 10 Jan 2019 08:37:32 +0000 Subject: [PATCH] XSO-926 Add Sangoma Linux to sed call Customer request - add FreePBX (Sangoma Linux) to Xenserver Tools detection, this was requested to prevent logs being flooded with tools not installed messages for this platform. Signed-off-by: Sam Connolly --- mk/xe-linux-distribution | 1 + 1 file changed, 1 insertion(+) diff --git a/mk/xe-linux-distribution b/mk/xe-linux-distribution index b10d343..a9db6d6 100755 --- a/mk/xe-linux-distribution +++ b/mk/xe-linux-distribution @@ -150,6 +150,7 @@ identify_redhat() -e 's/^Enterprise Linux Enterprise Linux .* release \([0-9]*\)\.\([0-9]*\) (.*)$/distro=oracle;major=\1;minor=\2;/gp;' \ -e 's/^Enterprise Linux Enterprise Linux .* release \([0-9]*\) (.*)$/distro=oracle;major=\1/gp;' \ -e 's/^Oracle Linux Server release \([0-9]*\)\.\([0-9]*\)$/distro=oracle;major=\1;minor=\2/gp;' \ + -e 's/^Sangoma Linux release \([0-9]*\)\.\([0-9]*\)\(\.[0-9]*\)\? (.*)/distro=centos;major=\1;minor=\2/gp;' \ -e 's/^Scientific Linux SL release \([0-9]*\)\.\([0-9]*\) (.*)$/distro=scientific;major=\1;minor=\2;/gp;' \ -e 's/^Scientific Linux release \([0-9]*\)\.\([0-9]*\) (.*)$/distro=scientific;major=\1;minor=\2;/gp;' \ "${redhat_release}")