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
Class Method Summary collapse
-
.synopsis ⇒ Object
Show description when ‘vagrant list-commands` is triggered.
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
Class Method Details
.synopsis ⇒ Object
Show description when ‘vagrant list-commands` is triggered
11 12 13 |
# File 'lib/vagrant-vbguest/vagrant_compat/vagrant_1_1/command.rb', line 11 def self.synopsis "plugin: vagrant-vbguest: install VirtualBox Guest Additions to the machine" end |
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 |