Add version field with value 1.0.0 to metadata

This commit is contained in:
Michele Catalano 2015-06-16 19:53:38 +02:00 committed by Megan Marsh
parent e1ca5c4488
commit 21c9f7a9aa
1 changed files with 1 additions and 1 deletions

View File

@ -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() {