mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #25943 from gczuczy/issue-19948
Use private interface if there's no public_vlan defined
This commit is contained in:
commit
50bceac369
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user