mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 13:24:24 -07:00
Revert "Added installer for Amazon AMI"
This reverts commit cdd2bead79
.
To be moved into another branch
This commit is contained in:
parent
cdd2bead79
commit
9ab28c5782
2 changed files with 1 additions and 1319 deletions
File diff suppressed because it is too large
Load diff
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue