Skip to content

Commit

Permalink
XSO-926 Add Sangoma Linux to sed call
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
samuelconnolly committed Jan 10, 2019
1 parent 1ea5634 commit 2a01fee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mk/xe-linux-distribution
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 2a01fee

Please sign in to comment.