Class: VagrantVbguest::Command
- Inherits:
-
Vagrant::Command::Base
- Object
- Vagrant::Command::Base
- VagrantVbguest::Command
- Includes:
- Vagrant::Command::StartMixins, VagrantPlugins::CommandUp::StartMixins, CommandCommons
- Defined in:
- lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb,
lib/vagrant-vbguest/vagrant_compat/vagrant_1_1/command.rb
Instance Method Summary collapse
Methods included from CommandCommons
Methods included from Helpers::Rebootable
included, #reboot, #reboot!, #reboot?, #rebooted?
Methods included from Helpers::VmCompatible
#communicate, #driver, included
Instance Method Details
#check_runable_on(vm) ⇒ Object
10 11 12 13 14 |
# File 'lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb', line 10 def check_runable_on(vm) raise Vagrant::Errors::VMNotCreatedError if !vm.created? raise Vagrant::Errors::VMInaccessible if !vm.state == :inaccessible raise Vagrant::Errors::VMNotRunningError if vm.state != :running end |