packer-cn/builder/yandex/ssh.go

11 lines
207 B
Go
Raw Normal View History

2019-03-26 08:29:15 -04:00
package yandex
import (
"github.com/hashicorp/packer/helper/multistep"
)
func commHost(state multistep.StateBag) (string, error) {
ipAddress := state.Get("instance_ip").(string)
return ipAddress, nil
}