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/command.rb,
lib/vagrant-vbguest/command.rb
Instance Method Summary collapse
Methods included from CommandCommons
Methods included from Helpers::Rebootable
Instance Method Details
#check_runable_on(vm) ⇒ Object
96 97 98 99 100 |
# File 'lib/vagrant-vbguest/command.rb', line 96 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 |