当我配置单个VM,其中黄金映像内部有LVM配置时,我们会出现故障:
* vsphere_virtual_machine.vm_1: 1 error(s) occurred:
* vsphere_virtual_machine.vm_1: Customization of the guest
operating system 'ubuntu64Guest' is not supported in this
configuration. Microsoft Vista (TM) and Linux guests with Logical
Volume Manager are supported only for recent ESX host and VMware
Tools versions. Refer to vCenter documentation for supported
configurations.
这似乎是从Vmware返回的消息,但我们不确定该怎么做。为什么会失败?
答案 0 :(得分:0)
返回的错误是VSphere泛型错误消息,与LVM无关。真正的错误是由以下两者引起的:
请确保您的模板中安装了VMware Tools,并且客户操作系统位于支持的操作系统列表中。
要跳过不支持的操作系统的自定义步骤,请在虚拟机资源上使用skip_customization
参数。