add support for internal IP

Pterodactyl/Panel#613
This commit is contained in:
Dane Everitt 2017-10-09 23:04:54 -05:00
parent 8b54797eba
commit 4e55d20297
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -3,6 +3,9 @@ sleep 2
cd /home/container cd /home/container
# Make internal Docker IP address available to processes.
export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
# Update Rust Server # Update Rust Server
./steam/steamcmd.sh +login anonymous +force_install_dir /home/container +app_update 258550 +quit ./steam/steamcmd.sh +login anonymous +force_install_dir /home/container +app_update 258550 +quit