packer-cn/builder/oneandone/ssh.go

11 lines
208 B
Go
Raw Normal View History

2016-11-13 17:34:36 -05:00
package oneandone
import (
"github.com/hashicorp/packer/helper/multistep"
2016-11-13 17:34:36 -05:00
)
func commHost(state multistep.StateBag) (string, error) {
ipAddress := state.Get("server_ip").(string)
return ipAddress, nil
}