Merge pull request #411 from sleemburg/master

Added Mitel as a redhat derived OS
remotes/origin/4.0
Nico Schottelius 9 years ago
commit 98ba860150
  1. 5
      cdist/conf/explorer/os
  2. 2
      cdist/conf/explorer/os_version

@ -77,6 +77,11 @@ if grep -q ^Fedora /etc/redhat-release 2>/dev/null; then
exit 0
fi
if grep -q ^Mitel /etc/redhat-release 2>/dev/null; then
echo mitel
exit 0
fi
if [ -f /etc/redhat-release ]; then
echo redhat
exit 0

@ -51,7 +51,7 @@ case "$($__explorer/os)" in
owl)
cat /etc/owl-release
;;
redhat|centos)
redhat|centos|mitel)
cat /etc/redhat-release
;;
slackware)

Loading…
Cancel
Save