Merge pull request #9431 from blueyed/options-without-leading-space
salt: remove leading space with bootstrap_options
This commit is contained in:
commit
9ad04ada6c
|
@ -110,11 +110,11 @@ module VagrantPlugins
|
||||||
|
|
||||||
# Generates option string for bootstrap script
|
# Generates option string for bootstrap script
|
||||||
def bootstrap_options(install, configure, config_dir)
|
def bootstrap_options(install, configure, config_dir)
|
||||||
options = ""
|
|
||||||
|
|
||||||
# Any extra options passed to bootstrap
|
# Any extra options passed to bootstrap
|
||||||
if @config.bootstrap_options
|
if @config.bootstrap_options
|
||||||
options = "%s %s" % [options, @config.bootstrap_options]
|
options = @config.bootstrap_options
|
||||||
|
else
|
||||||
|
options = ""
|
||||||
end
|
end
|
||||||
|
|
||||||
if @config.master_json_config && @machine.config.vm.communicator != :winrm
|
if @config.master_json_config && @machine.config.vm.communicator != :winrm
|
||||||
|
|
Loading…
Reference in New Issue