provider/digitalocean: Support ConnInfo for provisioning

This commit is contained in:
Armon Dadgar 2014-07-24 13:50:40 -04:00
parent 67bc9f51ae
commit a6e536c718
1 changed files with 4 additions and 0 deletions

View File

@ -81,6 +81,10 @@ func resource_digitalocean_droplet_create(
droplet := dropletRaw.(*digitalocean.Droplet)
// Initialize the connection info
rs.ConnInfo["type"] = "ssh"
rs.ConnInfo["host"] = droplet.IPV4Address()
return resource_digitalocean_droplet_update_state(rs, droplet)
}