Get rid of unavailable API
This commit is contained in:
parent
586f506eff
commit
67aa4c3819
|
@ -18,7 +18,7 @@ module Vagrant
|
||||||
@logger.debug("'provision' each target VM...")
|
@logger.debug("'provision' each target VM...")
|
||||||
with_target_vms(argv[0]) do |vm|
|
with_target_vms(argv[0]) do |vm|
|
||||||
if vm.created?
|
if vm.created?
|
||||||
if vm.vm.running?
|
if vm.state == :running
|
||||||
@logger.info("Provisioning: #{vm.name}")
|
@logger.info("Provisioning: #{vm.name}")
|
||||||
vm.provision
|
vm.provision
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue