VIO oem_setup_env user

Is there a way to have the VIO name displayed as the command prompt on a VIO server when you switch to the oem_set_env user? We have several VIO servers on several frames and want to be sure we are entering/changing info on the correct VIO.

The only way I found to do this was to create a settings file and load that manually after typing 'oem_setup_env'. Like this:

$ cat profile.oem
export PATH=$PATH:/usr/ios/cli
PS1="VIO1 # "
set -o vi
$ oem_setup_env
# . ./profile.oem
VIO1 #

I added

export PS1=$(hostname):'$PWD-->'

to the bottom of /home/padmin/.profile

PS1 remains after oem_setup_env , Version 1.5.2.1

That .profile is only for padmin. I was never able to find what .profile (if any) was used when you type 'oem_setup_env'. That's why I do it the way I described earlier. I know it's not perfect but it's all I was able to come up with on my VIOs.

yep it's only for the padmin, but PS1 variable will not be overwritten when running oem_setup_env