Don't show hostname when logged in as user
This avoids the problem when long onion addresses are the hostname
This commit is contained in:
parent
89e2c97a28
commit
f30471a0ab
|
@ -237,6 +237,7 @@ fi
|
|||
|
||||
# add user menu on ssh login
|
||||
if ! grep -q 'controluser' "/home/$ADD_USERNAME/.bashrc"; then
|
||||
echo 'export PS1="\W \$"' >> "/home/$ADD_USERNAME/.bashrc"
|
||||
echo 'controluser' >> "/home/$ADD_USERNAME/.bashrc"
|
||||
fi
|
||||
|
||||
|
|
|
@ -64,6 +64,7 @@ $(get_ssh_server_key)
|
|||
|
||||
# add user menu on ssh login
|
||||
if ! grep -q 'controluser' "/home/$MY_USERNAME/.bashrc"; then
|
||||
echo 'export PS1="\W \$"' >> "/home/$MY_USERNAME/.bashrc"
|
||||
echo 'controluser' >> "/home/$MY_USERNAME/.bashrc"
|
||||
fi
|
||||
if [ ! -f "$IMAGE_PASSWORD_FILE" ]; then
|
||||
|
|
Loading…
Reference in New Issue