mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
apt-get, not yum
This commit is contained in:
parent
642db37c97
commit
c426be582a
2 changed files with 4 additions and 4 deletions
|
@ -26,7 +26,7 @@ help() {
|
||||||
-f, --force Force installation
|
-f, --force Force installation
|
||||||
-i, --disable-iptables Disable iptables support
|
-i, --disable-iptables Disable iptables support
|
||||||
-b, --disable-fail2ban Disable fail2ban protection
|
-b, --disable-fail2ban Disable fail2ban protection
|
||||||
-n, --noupdate Do not run yum update command
|
-n, --noupdate Do not run apt-get upgrade command
|
||||||
-s, --hostname Set server hostname
|
-s, --hostname Set server hostname
|
||||||
-e, --email Set email address
|
-e, --email Set email address
|
||||||
-p, --password Set admin password instead of generating it
|
-p, --password Set admin password instead of generating it
|
||||||
|
@ -78,7 +78,7 @@ while getopts "hfibdnqe:m:p:s:" Option; do
|
||||||
f) force='yes' ;; # Force install
|
f) force='yes' ;; # Force install
|
||||||
i) disable_iptables='yes' ;; # Disable iptables
|
i) disable_iptables='yes' ;; # Disable iptables
|
||||||
b) disable_fail2ban='yes' ;; # Disable fail2ban
|
b) disable_fail2ban='yes' ;; # Disable fail2ban
|
||||||
n) noupdate='yes' ;; # Disable yum update
|
n) noupdate='yes' ;; # Disable apt-get upgrade
|
||||||
s) servername=$OPTARG ;; # Server hostname
|
s) servername=$OPTARG ;; # Server hostname
|
||||||
e) email=$OPTARG ;; # Set email
|
e) email=$OPTARG ;; # Set email
|
||||||
p) vpass=$OPTARG ;; # Admin password
|
p) vpass=$OPTARG ;; # Admin password
|
||||||
|
|
|
@ -25,7 +25,7 @@ help() {
|
||||||
-f, --force Force installation
|
-f, --force Force installation
|
||||||
-i, --disable-iptables Disable iptables support
|
-i, --disable-iptables Disable iptables support
|
||||||
-b, --disable-fail2ban Disable fail2ban protection
|
-b, --disable-fail2ban Disable fail2ban protection
|
||||||
-n, --noupdate Do not run yum update command
|
-n, --noupdate Do not run apt-get upgrade command
|
||||||
-s, --hostname Set server hostname
|
-s, --hostname Set server hostname
|
||||||
-e, --email Set email address
|
-e, --email Set email address
|
||||||
-p, --password Set admin password instead of generating it
|
-p, --password Set admin password instead of generating it
|
||||||
|
@ -77,7 +77,7 @@ while getopts "hfibdnqe:m:p:s:" Option; do
|
||||||
f) force='yes' ;; # Force install
|
f) force='yes' ;; # Force install
|
||||||
i) disable_iptables='yes' ;; # Disable iptables
|
i) disable_iptables='yes' ;; # Disable iptables
|
||||||
b) disable_fail2ban='yes' ;; # Disable fail2ban
|
b) disable_fail2ban='yes' ;; # Disable fail2ban
|
||||||
n) noupdate='yes' ;; # Disable yum update
|
n) noupdate='yes' ;; # Disable apt-get upgrade
|
||||||
s) servername=$OPTARG ;; # Server hostname
|
s) servername=$OPTARG ;; # Server hostname
|
||||||
e) email=$OPTARG ;; # Set email
|
e) email=$OPTARG ;; # Set email
|
||||||
p) vpass=$OPTARG ;; # Admin password
|
p) vpass=$OPTARG ;; # Admin password
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue