packer-cn/builder/googlecompute/ssh.go

11 lines
214 B
Go
Raw Normal View History

package googlecompute
import (
"github.com/hashicorp/packer/helper/multistep"
)
func commHost(state multistep.StateBag) (string, error) {
ipAddress := state.Get("instance_ip").(string)
return ipAddress, nil
}