salt: remove leading space with bootstrap_options

This commit is contained in:
Daniel Hahler 2018-02-01 21:24:15 +01:00
parent ff3b025fc2
commit 496d9b24c1
1 changed files with 3 additions and 3 deletions

View File

@ -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 configure && @machine.config.vm.communicator != :winrm if configure && @machine.config.vm.communicator != :winrm