This is a quick post on how to update a driver in VMware ESXi with a manufacturers driver package (in this example an HPE NIC driver) using excli.
First create a folder called VIB on one of your datastores and upload the VIB files to it using the webui.
Then login to the ESXi host using Putty and list the contents of the current directory:
ls
Change the directory to your mounted volumes:
cd vmfs/volumes/
List the volumes:
ls -l
This should give you the GUIDs of all the volumes. You now need to change the directory to the volume that contains the VIB files:
cd d7dh59ef-d4sjsy2a-37gb-8030esjw7g12
List the files in the volume:
ls
Change directory to the VIB folder:
cd VIB
List all the files in the directory:
ls -l
Run the update command using the path to your volume (that you just collected) and the name of the VIB file
esxcli software vib update -v "/vmfs/volumes/5d0b59ef-d45f452a-60eb-8030e024c834/VIB/QLC_bootbank_qcnic_1.0.27.0-1OEM.670.0.0.8169922.vib"
Reboot the host