mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 22:31:18 +00:00
Handle the server ID in PS1 in each server container.
This commit is contained in:
parent
3fb63f8da8
commit
daaee5decb
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
# Set PS1 so we know we're in the container, should we exec into it.
|
# Set PS1 so we know we're in the container, should we exec into it.
|
||||||
cat > .bashrc <<EOF
|
cat > .bashrc <<EOF
|
||||||
alias ls='ls --color'
|
alias ls='ls --color'
|
||||||
export PS1="${debian_chroot:+($debian_chroot)}\u@dz-server:\w\$ "
|
export PS1="${debian_chroot:+($debian_chroot)}\u@dz-server${SERVER_ID}:\w\$ "
|
||||||
unset DEVELOPMENT
|
unset DEVELOPMENT
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue