From b2602044545f0f2fccd3b154cd6deadbe79d2690 Mon Sep 17 00:00:00 2001 From: Michele Catalano Date: Tue, 16 Jun 2015 19:53:38 +0200 Subject: [PATCH] Add version field with value 1.0.0 to metadata --- post-processor/vagrant/lxc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post-processor/vagrant/lxc.go b/post-processor/vagrant/lxc.go index 497bcc1cd..24fff2edb 100644 --- a/post-processor/vagrant/lxc.go +++ b/post-processor/vagrant/lxc.go @@ -14,7 +14,7 @@ func (p *LxcProvider) KeepInputArtifact() bool { func (p *LxcProvider) Process(ui packer.Ui, artifact packer.Artifact, dir string) (vagrantfile string, metadata map[string]interface{}, err error) { // Create the metadata - metadata = map[string]interface{}{"provider": "lxc"} + metadata = map[string]interface{}{"provider": "lxc", "version": "1.0.0"} // Copy all of the original contents into the temporary directory for _, path := range artifact.Files() {