ESX configuration script – display full path in COS
October 25th, 2008 by jason
Leave a reply »
MS-DOS old timers should appreciate this. I’ve been using this snippet for a few years in my ESX host deployment scripts.
ESX script to display the full path in COS
Example:
In your ESX console, instead of seeing this:
[root@host vmware]#
You’ll see this:
[root@host /etc/vmware]#
#Paste the following into PuTTY on your ESX host:
mv /etc/bashrc /etc/bashrc.old
sed -e “s/\\h \\\W/\\h \\\w/g” /etc/bashrc.old > /etc/bashrc
Close your PuTTY session and re-open to see the change take effect.
Related Posts
- November 2, 2008 -- 63% not utilizing Resource Pools
- July 25, 2010 -- vSphere 4.1: Multicore Virtual CPUs
- July 2, 2010 -- OVF? OVA? WTF?
- June 25, 2010 -- Make an ESX Firewall Rule Manageable in the vSphere Client
- June 24, 2010 -- vSphere Cluster Showing Noncompliant on the Profile Compliance Tab
- June 23, 2010 -- Disable Copy and Paste for a VM
- June 17, 2010 -- ESX and the Service Console Are Going Away
- June 16, 2010 -- VMware Tools install – A general system error occurred: Internal error
- June 11, 2010 -- NFS and Name Resolution
- May 27, 2010 -- vSphere Upgrade Prerequisites Checklist
I’ve been using this for ages, I love this little tweak! Makes life a lot easier when troubleshooting.