Commit d3ea7956 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/vmware: if no files to serve, don't start http server

parent 4ed76751
......@@ -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
......
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