Fix issue where set name doesn't work if saved
This commit is contained in:
parent
1392d9b4a5
commit
ab4046d8af
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue