salt-bootstrap.sh: options are only allowed before install arguments
This commit is contained in:
parent
cfb258a55b
commit
7cd7077467
|
@ -79,11 +79,6 @@ module VagrantPlugins
|
|||
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]
|
||||
end
|
||||
|
||||
if configure
|
||||
options = "%s -c %s" % [options, config_dir]
|
||||
end
|
||||
|
@ -126,6 +121,11 @@ module VagrantPlugins
|
|||
end
|
||||
end
|
||||
|
||||
## Any extra options passed to bootstrap
|
||||
if @config.bootstrap_options
|
||||
options = "%s %s" % [options, @config.bootstrap_options]
|
||||
end
|
||||
|
||||
if @config.verbose
|
||||
@machine.env.ui.info "Using Bootstrap Options: %s" % options
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue