Add ability to use any remote console port when using network mode host (#683)
This commit is contained in:
1 parent
2201549828
commit
adc2bbf5ff
2 files changed
+5
-1
No files matched your search
@@ -497,6 +497,9 @@ fi
|
||||
mcServerRunnerArgs=()
|
||||
if isTrue "${ENABLE_SSH}"; then
|
||||
mcServerRunnerArgs+=(--remote-console)
|
||||
if [[ -v REMOTE_CONSOLE_BIND_ADDRESS ]]; then
|
||||
mcServerRunnerArgs+=(--remote-console-bind-address "${REMOTE_CONSOLE_BIND_ADDRESS}")
|
||||
fi
|
||||
if ! [[ -v RCON_PASSWORD ]]; then
|
||||
RCON_PASSWORD=$(openssl rand -hex 12)
|
||||
export RCON_PASSWORD
|
||||
|
||||
Reference in new issue
Block a user