packer-cn/builder/digitalocean/ssh.go

11 lines
212 B
Go
Raw Normal View History

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