cloudron-support: rename enable-remote-access to enable-remote-support
This commit is contained in:
@@ -20,7 +20,7 @@ readonly HELP_MESSAGE="
|
||||
|
||||
Options:
|
||||
--disable-dnssec Disable DNSSEC
|
||||
--enable-remote-access Enable SSH Remote Access for the Cloudron support team
|
||||
--enable-remote-support Enable SSH Remote Access for the Cloudron support team
|
||||
--patch Apply a patch from git. WARNING: Do not use unless you know what you are doing!
|
||||
--recreate-containers Deletes all existing containers and recreates them without loss of data
|
||||
--recreate-docker Deletes docker storage (containers and images) and recreates it without loss of data
|
||||
@@ -50,7 +50,7 @@ function fail() {
|
||||
echo -e "[${RED}FAIL${DONE}]\t${1}" >&2
|
||||
}
|
||||
|
||||
function enable_remote_access() {
|
||||
function enable_remote_support() {
|
||||
local -r cloudron_support_public_key="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGWS+930b8QdzbchGljt3KSljH9wRhYvht8srrtQHdzg support@cloudron.io"
|
||||
local -r ssh_user="cloudron-support"
|
||||
local -r keys_file="/home/cloudron-support/.ssh/authorized_keys"
|
||||
@@ -757,7 +757,7 @@ function apply_patch() {
|
||||
|
||||
check_disk_space
|
||||
|
||||
args=$(getopt -o "" -l "admin-login,disable-dnssec,enable-ssh,enable-remote-access,help,owner-login,patch:,recreate-containers,recreate-docker,fix-docker-version,send-diagnostics,unbound-use-external-dns,troubleshoot" -n "$0" -- "$@")
|
||||
args=$(getopt -o "" -l "admin-login,disable-dnssec,enable-ssh,enable-remote-support,help,owner-login,patch:,recreate-containers,recreate-docker,fix-docker-version,send-diagnostics,unbound-use-external-dns,troubleshoot" -n "$0" -- "$@")
|
||||
eval set -- "${args}"
|
||||
|
||||
while true; do
|
||||
@@ -765,7 +765,7 @@ while true; do
|
||||
--enable-ssh)
|
||||
# fall through
|
||||
;&
|
||||
--enable-remote-access) enable_remote_access; exit 0;;
|
||||
--enable-remote-support) enable_remote_support; exit 0;;
|
||||
--admin-login)
|
||||
# fall through
|
||||
;&
|
||||
|
||||
Reference in New Issue
Block a user