Merge pull request #25943 from gczuczy/issue-19948

Use private interface if there's no public_vlan defined
This commit is contained in:
Mike Place 2015-08-04 09:28:59 -06:00
commit 50bceac369

View File

@ -347,7 +347,7 @@ def create(vm_):
private_wds = config.get_cloud_config_value(
'private_windows', vm_, __opts__, default=False
)
if private_ssh or private_wds:
if private_ssh or private_wds or public_vlan is None or public_vlan is False:
ip_type = 'primaryBackendIpAddress'
def wait_for_ip():