Suggestion: change the default prompt for the node

bellocarico

Member
Sep 17, 2022
49
3
13
I guess we all did it at least once. You think to be in the ssh session of the VM of choice where instead.... you are on the host!
An old trick to help users avoiding such mistake is to change the prompt.
So, should something along the lines of:

export PS1="\[\e[33;41m\]NODE[\h]#\[\e[m\] "

be used as the default .bashrc ?

e.g.

VM:
1663631551700.png

NODE:
1663631574514.png


Thanks
 
Last edited:
no, you can trivially do that yourself if you want?
 
I know I can do this myself I was posting here to see if this is recognised as an added value (I do) for the final product. You seem to think otherwise which is fair enough.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!