Added installer for Amazon AMI

This commit is contained in:
fliker09 2017-06-05 16:52:45 +03:00
commit cdd2bead79
2 changed files with 1319 additions and 1 deletions

1316
install/vst-install-ami.sh Executable file

File diff suppressed because it is too large Load diff

View file

@ -41,11 +41,12 @@ 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" ]; then
if [[ ! -e "/etc/redhat-release" && ! -e "/etc/system-release" ]]; then
type='ubuntu'
fi
@ -74,3 +75,4 @@ if [ -e '/usr/bin/curl' ]; then
fi
exit