Skip to content
Snippets Groups Projects
Commit 6e8ad3d0 authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch '6835-fix-hostname-on-el-shells' into 'develop'

Fix setting the hostname on EL for shellusers

Closes #6835

See merge request !1994
parents 3361d782 0aa7f1f9
No related branches found
No related tags found
1 merge request!1994Fix setting the hostname on EL for shellusers
Pipeline #15703 passed
...@@ -19,10 +19,11 @@ if [ -n "$LOGNAME" ]; then ...@@ -19,10 +19,11 @@ if [ -n "$LOGNAME" ]; then
cd $HOME cd $HOME
fi fi
fi fi
</tmpl_if>
## Change machine hostname to site domain ## ## Change machine hostname to site domain ##
export HOSTNAME=<tmpl_var name='domain'> export HOSTNAME=<tmpl_var name='domain'>
</tmpl_if> export PS1='\u@<tmpl_var name='domain'> \w\$ '
# User specific environment # User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]] if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment