Re-added the (mistakenly removed) host override to the CommHost for the vmware builders.
This commit is contained in:
parent
9c5a65263f
commit
8985ba077c
|
@ -14,6 +14,11 @@ func CommHost(config *SSHConfig) func(multistep.StateBag) (string, error) {
|
||||||
driver := state.Get("driver").(Driver)
|
driver := state.Get("driver").(Driver)
|
||||||
comm := config.Comm
|
comm := config.Comm
|
||||||
|
|
||||||
|
host := comm.Host()
|
||||||
|
if host != "" {
|
||||||
|
return host, nil
|
||||||
|
}
|
||||||
|
|
||||||
// Snag the port from the communicator config. This way we can use it
|
// Snag the port from the communicator config. This way we can use it
|
||||||
// to perform a 3-way handshake with all of the hosts we suspect in
|
// to perform a 3-way handshake with all of the hosts we suspect in
|
||||||
// order to determine which one of the hosts is the correct one.
|
// order to determine which one of the hosts is the correct one.
|
||||||
|
|
Loading…
Reference in New Issue