Sha256: ce6233c08e4b81933f6fe930456f735347ec82396eca1995376bc4958ea987eb
Contents?: true
Size: 832 Bytes
Versions: 9
Compression:
Stored size: 832 Bytes
Contents
require 'vagrant-vbguest/command' require Vagrant.source_root.join("plugins/commands/up/start_mixins") module VagrantVbguest class Command < Vagrant.plugin("2", :command) include CommandCommons include VagrantPlugins::CommandUp::StartMixins # Show description when `vagrant list-commands` is triggered def self.synopsis "plugin: vagrant-vbguest: install VirtualBox Guest Additions to the machine" end def check_runable_on(vm) raise Vagrant::Errors::VMNotCreatedError if vm.state.id == :not_created raise Vagrant::Errors::VMInaccessible if vm.state.id == :inaccessible raise Vagrant::Errors::VMNotRunningError if vm.state.id != :running raise VagrantVbguest::NoVirtualBoxMachineError if vm.provider.class != VagrantPlugins::ProviderVirtualBox::Provider end end end
Version data entries
9 entries across 9 versions & 1 rubygems