mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #43278 from gtmanfred/virtualbox
bootstrap can come from dunders
This commit is contained in:
commit
aed2975979
1 changed files with 3 additions and 1 deletions
|
@ -293,12 +293,14 @@ def salt_config_to_yaml(configuration, line_break='\n'):
|
|||
Dumper=SafeOrderedDumper)
|
||||
|
||||
|
||||
def bootstrap(vm_, opts):
|
||||
def bootstrap(vm_, opts=None):
|
||||
'''
|
||||
This is the primary entry point for logging into any system (POSIX or
|
||||
Windows) to install Salt. It will make the decision on its own as to which
|
||||
deploy function to call.
|
||||
'''
|
||||
if opts is None:
|
||||
opts = __opts__
|
||||
deploy_config = salt.config.get_cloud_config_value(
|
||||
'deploy',
|
||||
vm_, opts, default=False)
|
||||
|
|
Loading…
Add table
Reference in a new issue