我使用Packer构建了一个OVA文件。我正在使用 virtualbox-iso
构建器,
source "virtualbox-iso" "test" {
.
.
.
}
但是当我尝试在 vcenter
中导入OVA时,它给了我以下错误:
使用选定模板检测到的问题。详细信息:-1 value_illegal:
[VirtualBox-2.2]之间没有支持的硬件版本;支持:
[VMX-04,VMX-07,VMX-08,VMX-09,VMX-10,VMX-10,VMX-11,VMX-12,VMX-12,VMX-13,
VMX-14,VMX-15,VMX-16,VMX-17,VMX-18,VMX-19]。
看起来这是一个常见的问题。我发现了一些与此有关的文档。他们中的大多数都在谈论使用外部工具像OVFTool一样修复此操作,然后在OVA软件包中编辑OVF XML文件。
是否有任何包装器配置可以解决此问题?
I built an ova file using packer. I am using virtualbox-iso
builder
source "virtualbox-iso" "test" {
.
.
.
}
But when I try to import the ova in vcenter
, it gives me the following error:
Issues detected with selected template. Details: - -1 VALUE_ILLEGAL:
No supported hardware versions among [virtualbox-2.2]; supported:
[vmx-04, vmx-07, vmx-08, vmx-09, vmx-10, vmx-11, vmx-12, vmx-13,
vmx-14, vmx-15, vmx-16, vmx-17, vmx-18, vmx-19].
looks like this is a common problem. I found a few docs related to this. Most of them are talking about using external tools to fix this like OVFTOOL and then to edit the OVF XML file in the OVA package.
https://tutorials.technology/tutorials/How-to-create-a-vmware-OVA-from-a-virtualbox-ova.html
Is there any packer configuration that fixes this issue?
发布评论
评论(1)
我也遇到了这个。没有包装器配置可以解决此问题。
您可以尝试导入VMware Workstation Pro - 它会抱怨,但会让您导入。您可能需要在之后修复网络。
然后,您应该能够将VM移至ESXI。
I ran into this too. There is no packer configuration that will fix this.
You can try importing into VMWare Workstation Pro -- it'll complain but will let you import. You may need to fix the networking after.
Then you should be able to move the VM to ESXi.