Handle the server ID in PS1 in each server container.

This commit is contained in:
Daniel Ceregatti 2024-06-22 13:20:08 -07:00
parent 3fb63f8da8
commit daaee5decb

View file

@ -3,7 +3,7 @@
# Set PS1 so we know we're in the container, should we exec into it.
cat > .bashrc <<EOF
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
EOF