This commit is contained in:
Mitchell Hashimoto 2013-06-28 09:44:03 -04:00
parent fb4b940c53
commit 4cab266eb3
3 changed files with 42 additions and 44 deletions

View File

@ -63,7 +63,6 @@ func (p *VMwareBoxPostProcessor) PostProcess(ui packer.Ui, artifact packer.Artif
}
}
if p.config.VagrantfileTemplate != "" {
f, err := os.Open(p.config.VagrantfileTemplate)
if err != nil {
@ -88,7 +87,6 @@ func (p *VMwareBoxPostProcessor) PostProcess(ui packer.Ui, artifact packer.Artif
vf.Close()
}
// Create the metadata
metadata := map[string]string{"provider": "vmware"}
if err := WriteMetadata(dir, metadata); err != nil {