6.5-6.7
# 这里注意必须全路径
esxcli software sources profile list -d /vmfs/volumes/Esxi-05-00/up/ESXi670-202210001.zip
esxcli software profile update -d /vmfs/volumes/Esxi-05-00/up/ESXi670-202210001.zip -p ESXi-6.7.0-20221001001s-standard
reboot
6.7-7.0
esxcli software sources profile list -d /vmfs/volumes/Esxi-05-00/up/VMware-ESXi-7.0U3m-21686933-depot.zip
esxcli software profile update -d /vmfs/volumes/Esxi-05-00/up/VMware-ESXi-7.0U3m-21686933-depot.zip -p ESXi-7.0U3m-21686933-standard
#这里会提示CPU不支持
[HardwareError]
Hardware precheck of profile ESXi-7.0U3m-21686933-standard failed with errors: <CPU_SUPPORT ERROR: The CPU in this host is not supported by ESXi 7.0.3. Please refer to the VMware Compatibility Guide (VCG) for the list of supported CPUs.>
Please refer to the log file for more details.
# 这里需要修改两个启动文件
/bootbank/boot.cfg
/altbootbank/boot.cfg
# 在kernelopt这一行最后加入
allowLegacyCPU=true
esxcli software profile update -d /vmfs/volumes/Esxi-05-00/up/VMware-ESXi-7.0U3m-21686933-depot.zip -p ESXi-7.0U3m-21686933-standard --no-hardware-warning