Pass the start options into the actions so that they have effect

This commit is contained in:
Mitchell Hashimoto 2013-01-30 19:49:18 -08:00
parent 75ea4e5bdd
commit b91d7203eb
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ module VagrantPlugins
@logger.debug("'reload' each target VM...")
with_target_vms(argv) do |machine|
machine.action(:reload)
machine.action(:reload, options)
end
# Success, exit status 0

View File

@ -30,7 +30,7 @@ module VagrantPlugins
# Go over each VM and bring it up
@logger.debug("'Up' each target VM...")
with_target_vms(argv, :provider => options[:provider]) do |machine|
machine.action(:up)
machine.action(:up, options)
end
# Success, exit status 0