builder/vmware/vmx: create artifact

This commit is contained in:
Mitchell Hashimoto 2013-12-26 15:32:38 -07:00
parent 7f38cea9f3
commit 2b3d98d48d
1 changed files with 3 additions and 1 deletions

View File

@ -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.