Add version field with value 1.0.0 to metadata
This commit is contained in:
parent
e1ca5c4488
commit
21c9f7a9aa
|
@ -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…
Reference in New Issue