Fix issue where set name doesn't work if saved

This commit is contained in:
Mitchell Hashimoto 2013-01-31 11:26:45 -08:00
parent 1392d9b4a5
commit ab4046d8af
1 changed files with 1 additions and 1 deletions

View File

@ -55,6 +55,7 @@ module VagrantPlugins
Vagrant::Action::Builder.new.tap do |b| Vagrant::Action::Builder.new.tap do |b|
b.use CheckAccessible b.use CheckAccessible
b.use CleanMachineFolder b.use CleanMachineFolder
b.use SetName
b.use ClearForwardedPorts b.use ClearForwardedPorts
b.use EnvSet, :port_collision_handler => :correct b.use EnvSet, :port_collision_handler => :correct
b.use Provision b.use Provision
@ -240,7 +241,6 @@ module VagrantPlugins
Vagrant::Action::Builder.new.tap do |b| Vagrant::Action::Builder.new.tap do |b|
b.use CheckVirtualbox b.use CheckVirtualbox
b.use ConfigValidate b.use ConfigValidate
b.use SetName
b.use Call, IsRunning do |env, b2| b.use Call, IsRunning do |env, b2|
# If the VM is running, then our work here is done, exit # If the VM is running, then our work here is done, exit
next if env[:result] next if env[:result]