【发布时间】:2019-03-06 06:19:58
【问题描述】:
当我在 VM 上运行命令时。
[root@localhost:~] esxcli hardware platform get
Platform Information
UUID: 0x39 0x33 0x38 0x35 0x37 0x31 0x47 0x53 0x48 0x31 0x33 0x33 0x58 0x33 0x48 0x42
当我在 Linux 和 windows 上运行命令时。我有一个类似的模式
➜ frontend git:(master) sudo dmidecode -t 1
System Information
UUID: 86431C01-52BE-11CB-8375-B60E172FF8E3
两个 VM UUID 的模式不同。 Wikipedia 说的地方
在其规范的文本表示中,UUID 的 16 个八位字节是 表示为 32 个十六进制 (base-16) 数字,分 5 组显示 用连字符分隔,格式为 8-4-4-4-12,共 36 个 字符(32 个字母数字字符和 4 个连字符)。例如:
123e4567-e89b-12d3-a456-426655440000
xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx
我的问题是
-
我得到了正确的 UUID?
-
UUID 是基于不同的操作系统(例如 Linux、VM、android、windows)或基于机器(台式机、笔记本电脑、移动设备、服务器)。
-
如果不同,那么如何验证?
【问题讨论】:
标签: linux windows virtual-machine