Files
Packer-Cn/builder/googlecompute/ssh.go
T

11 lines
214 B
Go
Raw Normal View History

package googlecompute
import (
2018-01-19 16:18:44 -08:00
"github.com/hashicorp/packer/helper/multistep"
)
2015-06-13 19:23:33 -04:00
func commHost(state multistep.StateBag) (string, error) {
ipAddress := state.Get("instance_ip").(string)
2015-06-13 19:23:33 -04:00
return ipAddress, nil
}