mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 13:24:25 -07:00
Added installer for Amazon AMI
This commit is contained in:
parent
d7496cf06f
commit
cdd2bead79
2 changed files with 1319 additions and 1 deletions
1316
install/vst-install-ami.sh
Executable file
1316
install/vst-install-ami.sh
Executable file
File diff suppressed because it is too large
Load diff
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue