Sha256: 7befee629e89cfc42dd472908a3a508e9b12bac260cbc71d64b63d9b24fec076
Contents?: true
Size: 652 Bytes
Versions: 11
Compression:
Stored size: 652 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 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
11 entries across 11 versions & 2 rubygems