Commit 2b3d98d4 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/vmware/vmx: create artifact

parent 7f38cea9
......@@ -80,6 +80,8 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
Command: b.config.ShutdownCommand,
Timeout: b.config.ShutdownTimeout,
},
&vmwcommon.StepCleanFiles{},
&vmwcommon.StepCleanVMX{},
}
// Run the steps.
......@@ -107,7 +109,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
return nil, errors.New("Build was halted.")
}
return nil, nil
return vmwcommon.NewLocalArtifact(b.config.OutputDir)
}
// Cancel.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment