Properly populate the deploy script

This commit is contained in:
Joseph Hall 2014-05-06 22:03:33 -06:00
parent 39b2e9818c
commit 5bf75c3e43

View File

@ -293,7 +293,12 @@ def bootstrap(vm_, opts):
ret = {}
deploy_script_code = os_script('script', vm_, opts)
deploy_script_code = os_script(
salt.config.get_cloud_config_value(
'os', vm_, opts, default='bootstrap-salt'
),
vm_, opts
)
ssh_username = salt.config.get_cloud_config_value(
'ssh_username', vm_, opts, default='root'