Sha256: 900c31e33923982a8277c3c96ef0d02847edfc5ece6155862b9199ca39a141c2

Contents?: true

Size: 464 Bytes

Versions: 20

Compression:

Stored size: 464 Bytes

Contents

require 'vagrant-vbguest/command'
require 'vagrant/command/start_mixins'

module VagrantVbguest

  class Command < Vagrant::Command::Base
    include CommandCommons
    include Vagrant::Command::StartMixins

    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
  end

end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
vagrant-vbguest-0.16.0 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.16.0.beta1 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.15.2 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.15.1 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.15.0 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.14.2 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.14.1 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.14.0 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.14.0.pre.beta1 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.13.0 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.12.0 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.11.0 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.11.0.beta0 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.10.1 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-update-0.10.1.dev lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.10.0 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.10.0.pre1 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.10.0.pre0 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.9.0 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb
vagrant-vbguest-0.8.0 lib/vagrant-vbguest/vagrant_compat/vagrant_1_0/command.rb