Added comment regarding use of host param.

This commit is contained in:
Ladar Levison 2018-12-27 03:34:08 -06:00
parent 8a9962882c
commit 217028b902
1 changed files with 1 additions and 0 deletions

View File

@ -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