Cloud, DevOps, Evangelism

Quick Post: New Favorite esxcli update commands

I was updating my lab this morning, and needed to easily update the machines to the latest version of ESXi code without VUM.  Here's a handy one:

esxcli software profile update -d http://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p `esxcli software sources profile list -d http://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep "ESXi-5.1.0-2013" | grep no-tools | sort | tail -1 | awk '{print $1}'`

Also, to install the latest Brocade CNA drivers:

esxcli software vib install -d "http://www.brocade.com/downloads/documents/vibsdepot/CurrentRelease/BCD-depot-index.xml"