Added comment regarding use of host param.
This commit is contained in:
parent
8a9962882c
commit
217028b902
|
@ -9,6 +9,7 @@ import (
|
|||
func CommHost(host string) func(multistep.StateBag) (string, error) {
|
||||
return func(state multistep.StateBag) (string, error) {
|
||||
|
||||
// Skip IP auto detection if the configuration has an ssh host configured.
|
||||
if host != "" {
|
||||
log.Printf("Using ssh_host value: %s", host)
|
||||
return host, nil
|
||||
|
|
Loading…
Reference in New Issue