forked from ungleich-public/cdist
adding support for amazon linux
This commit is contained in:
parent
8447702c50
commit
211ee5b043
4 changed files with 10 additions and 2 deletions
|
|
@ -75,6 +75,11 @@ if [ -f /etc/cdist-preos ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
if grep -q ^Amazon /etc/system-release 2>/dev/null; then
|
||||
echo amazon
|
||||
exit 0
|
||||
fi
|
||||
|
||||
uname_s="$(uname -s)"
|
||||
|
||||
# Assume there is no tr on the client -> do lower case ourselves
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue