使用 LVM 时实例部署失败

Instance Deploy fails when using LVM

当我在黄金映像内部有 LVM 配置的情况下配置单个 VM 时,出现故障:

    * 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 返回的消息,但我们不确定该怎么做。为什么失败了?

返回的错误是 VSphere 通用错误消息,与 LVM 无关。真正的错误是由以下任一原因引起的:

  1. VMware Tools 未安装(来宾 OS 自定义需要 VMware 工具)
  2. 不支持的来宾 OS。可以找到兼容操作系统的列表 here

请确保您的模板中安装了 VMware Tools,并且来宾 OS 在支持的操作系统列表中。

要跳过不支持的操作系统的自定义步骤,请在虚拟机资源上使用 skip_customization 参数。