mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
use port 445 instead of port 22 when bootstrapping windows
deploy_kwargs get default port 22 or ssh_port there for cloud bootstrapping fails without ssh_port=445 in the profile make sense to use default port 445 and allow profile override with 'smb_port' parameter (following ssh_port convention)
This commit is contained in:
parent
32823a7431
commit
1352979299
@ -421,6 +421,9 @@ def bootstrap(vm_, opts):
|
||||
'win_installer', vm_, opts
|
||||
)
|
||||
if win_installer:
|
||||
deploy_kwargs['port'] = salt.config.get_cloud_config_value(
|
||||
'smb_port', vm_, opts, default=445
|
||||
)
|
||||
deploy_kwargs['win_installer'] = win_installer
|
||||
minion = salt.utils.cloud.minion_config(opts, vm_)
|
||||
deploy_kwargs['master'] = minion['master']
|
||||
|
Loading…
Reference in New Issue
Block a user