builder/vmware/vmx: create artifact
This commit is contained in:
parent
7f38cea9f3
commit
2b3d98d48d
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue