Skip to content

Commit 43b170f

Browse files
committed
Adds private networking for Digital Ocean
Enables private networking for new droplets if the region supports it. Fails gracefully if not: https://developers.digitalocean.com/droplets/. > private_networking Optional, Boolean, enables a private network interface if the region supports private networking
1 parent f066f76 commit 43b170f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

provider/digitalocean.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ def _get_droplet_kwargs(node, conn):
9595
'region_id': _get_id(conn.regions(), params.get('region', 'San Francisco 1')),
9696
'ssh_key_ids': [str(_get_id(conn.all_ssh_keys(),
9797
"deis-{formation}-{layer}".format(**node)))],
98-
'virtio': True
98+
'virtio': True,
99+
'private_networking': True
99100
}
100101

101102

0 commit comments

Comments
 (0)