Add version field with value 1.0.0 to metadata

pull/3523/head
Michele Catalano 11 years ago committed by Michele Catalano
parent ade0b8a6b3
commit b260204454

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

Loading…
Cancel
Save