Get rid of unavailable API

This commit is contained in:
Mitchell Hashimoto 2012-01-05 23:12:28 -08:00
parent 586f506eff
commit 67aa4c3819
1 changed files with 1 additions and 1 deletions

View File

@ -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