mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -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
|
case $(head -n1 /etc/issue | cut -f 1 -d ' ') in
|
||||||
Debian) type="debian" ;;
|
Debian) type="debian" ;;
|
||||||
Ubuntu) type="ubuntu" ;;
|
Ubuntu) type="ubuntu" ;;
|
||||||
|
Amazon) type="ami" ;;
|
||||||
*) type="rhel" ;;
|
*) type="rhel" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Fallback to Ubuntu
|
# Fallback to Ubuntu
|
||||||
if [ ! -e "/etc/redhat-release" ]; then
|
if [[ ! -e "/etc/redhat-release" && ! -e "/etc/system-release" ]]; then
|
||||||
type='ubuntu'
|
type='ubuntu'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,3 +75,4 @@ if [ -e '/usr/bin/curl' ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit
|
exit
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue