查看机器型号

1
esxcli hardware platform get
1
2
3
4
5
6
7
8
Platform Information
UUID: 0x4c 0x4c 0x45 0x44 0x0 0x59 0x4b 0x10 0x80 0x57 0xb6 0xc0 0x4f 0x37 0x43 0x32
Product Name: PowerEdge R730xd
Vendor Name: Dell Inc.
Serial Number: 6YKW7C2
Enclosure Serial Number: 6YKW7C2
BIOS Asset Tag:
IPMI Supported: true

https://www.dell.com/support/home/zh-cn/product-support/product/poweredge-r730xd/drivers

esxi6.7 时区设置

在Ubuntu22.04LTS 中 下载这个文件

1
/usr/share/zoneinfo/Asia/Shanghai

从其他一台Linux主机拷贝一个 /usr/share/zoneinfo/Asia/Shanghai 文件到ESXI主机的数据卷目录(即存储虚拟机文件的那个目录,其他目录重启ESXI会被还原掉)。

1
mv Shanghai localtime

然后备份esxi 源文件

1
cp /etc/localtime /etc/localtime.bak.2024
1
cp -f /vmfs/volumes/5dd78cd7-2b752f03-d715-14187750f218/time/localtime  /etc/

image-20240812151513049

为防止重新启动文件被还原,加入开机自启

1
vi /etc/rc.local.d/local.sh #编辑自动启动脚本文件

命令放在exit 0 行前面即可

1
cp -f /vmfs/volumes/5dd78cd7-2b752f03-d715-14187750f218/time/localtime  /etc/

验证,确认时间是东8区

1
date -R