Revert "Added installer for Amazon AMI"

This reverts commit cdd2bead79.

To be moved into another branch
This commit is contained in:
fliker09 2017-06-09 13:19:03 +03:00
commit 9ab28c5782
2 changed files with 1 additions and 1319 deletions

File diff suppressed because it is too large Load diff

View file

@ -41,12 +41,11 @@ fi
case $(head -n1 /etc/issue | cut -f 1 -d ' ') in
Debian) type="debian" ;;
Ubuntu) type="ubuntu" ;;
Amazon) type="ami" ;;
*) type="rhel" ;;
esac
# Fallback to Ubuntu
if [[ ! -e "/etc/redhat-release" && ! -e "/etc/system-release" ]]; then
if [ ! -e "/etc/redhat-release" ]; then
type='ubuntu'
fi
@ -75,4 +74,3 @@ if [ -e '/usr/bin/curl' ]; then
fi
exit