Skip to content

Commit 0aa7f1f

Browse files
committed
Fix setting the hostname on EL for shellusers
1 parent 3361d78 commit 0aa7f1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/conf/bashrc_user_redhat.master

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ if [ -n "$LOGNAME" ]; then
1919
cd $HOME
2020
fi
2121
fi
22+
</tmpl_if>
2223

2324
## Change machine hostname to site domain ##
2425
export HOSTNAME=<tmpl_var name='domain'>
25-
</tmpl_if>
26+
export PS1='\u@<tmpl_var name='domain'> \w\$ '
2627

2728
# User specific environment
2829
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]

0 commit comments

Comments
 (0)