Merge pull request #9431 from blueyed/options-without-leading-space

salt: remove leading space with bootstrap_options
This commit is contained in:
Brian Cain 2018-09-17 11:26:54 -07:00 committed by GitHub
commit 9ad04ada6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -110,11 +110,11 @@ module VagrantPlugins
# Generates option string for bootstrap script
def bootstrap_options(install, configure, config_dir)
options = ""
# Any extra options passed to bootstrap
if @config.bootstrap_options
options = "%s %s" % [options, @config.bootstrap_options]
options = @config.bootstrap_options
else
options = ""
end
if @config.master_json_config && @machine.config.vm.communicator != :winrm