不能用包装工从数字海洋创造流浪盒?

时间:2015-07-14 01:40:34

标签: vagrant digital-ocean packer

我使用打包器的端口处理器从数字海洋图像创建流浪盒,但我收到此错误:

==> digitalocean (vagrant): Creating Vagrant box for 'digitalocean' 

provider
Build 'digitalocean' errored: 1 error(s) occurred:

* Post-processor failed: Poorly formatted artifact ID: 12740136

==> Some builds didn't complete successfully and had errors:
--> digitalocean: 1 error(s) occurred:

* Post-processor failed: Poorly formatted artifact ID: 12740136

==> Builds finished but no artifacts were created.

这是我的后处理器代码

"post-processors": [
          [{
              "type": "vagrant",
              "keep_input_artifact": true
          },
          {
              "type": "atlas",
              "artifact": "{{user `atlas_username`}}/{{user `atlas_name`}}",
              "artifact_type": "vagrant.box",
              "metadata": {
                  "provider": "virtualbox",
                  "version": "0.0.1"
              }
        }]

我在atlas.hashicorp.com上使用packer 0.8.1dev远程构建它。我该如何解决?

0 个答案:

没有答案