mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-09 00:32:09 -04:00
builder/vmware: if no files to serve, don't start http server
This commit is contained in:
parent
4ed76751de
commit
d3ea7956bc
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ func (s *stepHTTPServer) Run(state map[string]interface{}) multistep.StepAction
|
|||
var httpPort uint = 0
|
||||
if config.HTTPDir == "" {
|
||||
state["http_port"] = httpPort
|
||||
return multistep.ActionContinue
|
||||
}
|
||||
|
||||
// Find an available TCP port for our HTTP server
|
||||
|
|
|
|||
Loading…
Reference in a new issue