From 8360bcf61b51eee26dd6b3fb3fa42bb673e35058 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 21 Dec 2011 13:54:51 -0800 Subject: [PATCH] Fix guest loading w/ VBoxManage --- lib/vagrant/vm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/vm.rb b/lib/vagrant/vm.rb index cf17d889d..312efa17f 100644 --- a/lib/vagrant/vm.rb +++ b/lib/vagrant/vm.rb @@ -57,7 +57,7 @@ module Vagrant # Returns the guest for this VM, loading the distro of the system if # we can. def guest - if !@loaded_guest_distro && created? && vm.running? + if !@loaded_guest_distro && state == :running # Load the guest distro for the first time result = @guest.distro_dispatch load_guest!(result)