[root@localhost:~]
[root@localhost:~] vmware -vl #查看当前ESXI主机的版本号
VMware ESXi 6.0.0 build-3620759
VMware ESXi 6.0.0 Update 2
[root@localhost:~]
[root@localhost:~] cd /vmfs/volumes/datastore1/
[root@localhost:/vmfs/volumes/5fb47ceb-e4305cd0-140f-000c29b749e4] ls
iso update-from-esxi6.5-6.5_update02.zip
[root@localhost:/vmfs/volumes/5fb47ceb-e4305cd0-140f-000c29b749e4]
[root@localhost:/vmfs/volumes/5fb47ceb-e4305cd0-140f-000c29b749e4] cd
[root@localhost:~]
[root@localhost:~] esxcli software sources profile list -d /vmfs/volumes/datastore1/update-from-esxi6.5-6.5_update02.zip
Name Vendor Acceptance Level
ESXi-6.5.0-20180501001s-standard VMware, Inc. PartnerSupported
ESXi-6.5.0-20180501001s-no-tools VMware, Inc. PartnerSupported
ESXi-6.5.0-20180502001-no-tools VMware, Inc. PartnerSupported
ESXi-6.5.0-20180502001-standard VMware, Inc. PartnerSupported #选择这个
[root@localhost:~]
[root@localhost:~]
esxcli software profile update -d
/vmfs/volumes/datastore1/update-from-esxi6.5-6.5_update02.zip -p
ESXi-6.5.0-20180502001-standard #安装补丁包
Update Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs
Installed: VMW_bootbank_ata-libata-92_3.00.9.2-16vmw.650.0.0.4564106,
VMW_bootbank_ata-pata-amd_0.3.10-3vmw.650.0.0.4564106,
VMW_bootbank_ata-pata-atiixp_0.4.6-4vmw.650.0.0.4564106,
………… #中间升级运行过程太长,省略……
VIBs Skipped:
[root@localhost:~]
[root@localhost:~]