简体   繁体   English

打包程序:从源ova进行构建时出错

[英]packer: Error when building from source ova

I am trying to build an .ova file using another .ova as source: 我正在尝试使用另一个.ova作为源来构建.ova文件:

My configuration is as follows: 我的配置如下:

"builders": [
       {
        "type": "vmware-vmx",
        "source_path": "builds/my-base.ova",
        "vmx_data": {
          "memsize": "8192",
          "numvcpus": "4"
       },

(the template validates successfully btw) (顺便说一句,模板验证成功)

I am using: 我在用:

$ vmplayer --version
VMware Player 14.1.2 build-8497320

(although I have installed VMWare Workstation Pro in trial mode) (尽管我已经以试用模式安装了VMWare Workstation Pro)

$ packer --version
1.2.4

When running packer build I get the following error: 运行packer build ,出现以下错误:

... Build 'vmware-vmx' errored: Cloning is not supported with VMWare Player version 5. Please use VMWare Player version 6, or greater. ...生成'vmware-vmx'错误:VMWare Player版本5不支持克隆。请使用VMWare Player版本6或更高版本。

==> Some builds didn't complete successfully and had errors: --> vmware-vmx: Cloning is not supported with VMWare Player version 5. Please use VMWare Player version 6, or greater. ==>一些构建未成功完成并出现错误:-> vmware-vmx:VMWare Player版本5不支持克隆。请使用VMWare Player版本6或更高版本。

==> Builds finished but no artifacts were created. ==>构建完成,但未创建任何构件。

Looking as some past issues on the Packer repo, it looks like the Trial license may cause this error. 像Packer存储库上的某些过去的问题一样,似乎试用许可证可能导致此错误。 Example: https://github.com/hashicorp/packer/issues/972#issuecomment-48640599 示例: https//github.com/hashicorp/packer/issues/972#issuecomment-48640599

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM