From 496d9b24c1d661562bc5f199dc8b60b5eed7862e Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 1 Feb 2018 21:24:15 +0100 Subject: [PATCH] salt: remove leading space with bootstrap_options --- plugins/provisioners/salt/provisioner.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/provisioners/salt/provisioner.rb b/plugins/provisioners/salt/provisioner.rb index d5aade262..609d718ba 100644 --- a/plugins/provisioners/salt/provisioner.rb +++ b/plugins/provisioners/salt/provisioner.rb @@ -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 configure && @machine.config.vm.communicator != :winrm