Skip to content

Commit 6e8ad3d

Browse files
author
Till Brehm
committed
Merge branch '6835-fix-hostname-on-el-shells' into 'develop'
Fix setting the hostname on EL for shellusers Closes #6835 See merge request ispconfig/ispconfig3!1994
2 parents 3361d78 + 0aa7f1f commit 6e8ad3d

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)