lib/vagrant-ovirt3/action.rb in vagrant-ovirt3-1.8.2 vs lib/vagrant-ovirt3/action.rb in vagrant-ovirt3-1.9.0
- old
+ new
@@ -145,10 +145,11 @@
end
def self.action_ssh_run
Vagrant::Action::Builder.new.tap do |b|
b.use ConfigValidate
- b.use Call, IsCreated do |env, b2|
+ b.use ConnectOVirt
+ b.use Call, ReadState do |env, b2|
if env[:machine_state_id] == :not_created
b2.use MessageNotCreated
next
end
if env[:machine_state_id] != :up