Merge pull request #14748 from Linuturk/windows-password

should use password provided by API if it isn't specified in the configu...
This commit is contained in:
Joseph Hall 2014-08-05 12:35:01 -06:00
commit 3ad02ba4e2

View File

@ -407,7 +407,7 @@ def create(vm_):
'win_username', vm_, __opts__, default='Administrator'
)
deploy_kwargs['password'] = config.get_cloud_config_value(
'win_password', vm_, __opts__, default=''
'win_password', vm_, __opts__, default=data.extra['password']
)
# Store what was used to the deploy the VM