lib/vagrant-skytap/action.rb in vagrant-skytap-0.1.2 vs lib/vagrant-skytap/action.rb in vagrant-skytap-0.1.3
- old
+ new
@@ -88,11 +88,14 @@
b1.use MessageNotCreated
next
end
b1.use Call, IsStopped do |env2, b2|
b2.use Call, IsRunning do |env3, b3|
- b3.use RunVm unless env3[:result]
+ unless env3[:result]
+ b3.use RunVm
+ b3.use WaitForCommunicator
+ end
end
was_stopped = env2[:result]
if was_stopped
b2.use PrepareNFSSettings
@@ -213,9 +216,10 @@
b2.use SetHostname
b2.use action_prepare_boot
end
b2.use RunVm
+ b2.use WaitForCommunicator
end
end
end
end