Sha256: 627c7df69f2240ef917be150351c663fa191d483c1161d043cc4dc3e5666f4e3

Contents?: true

Size: 783 Bytes

Versions: 31

Compression:

Stored size: 783 Bytes

Contents

module Vagrant
  module Plugin
    module V2
      # A base class for a guest OS. A guest OS is responsible for detecting
      # that the guest operating system running within the machine. The guest
      # can then be extended with various "guest capabilities" which are their
      # own form of plugin.
      #
      # The guest class itself is only responsible for detecting itself,
      # and may provide helpers for the capabilities.
      class Guest
        # This method is called when the machine is booted and has communication
        # capabilities in order to detect whether this guest operating system
        # is running within the machine.
        #
        # @return [Boolean]
        def detect?(machine)
          false
        end
      end
    end
  end
end

Version data entries

31 entries across 27 versions & 4 rubygems

Version Path
vagrant-unbundled-2.3.6.0 lib/vagrant/plugin/v2/guest.rb
tamtam-vagrant-reload-1.2.1 vendor/cache/vagrant-2092df529ae7/lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.3.3.0 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.3.2.0 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.2.19.0 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.2.18.0 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.2.16.0 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.2.14.0 lib/vagrant/plugin/v2/guest.rb
vagrant-aws-mkubenka-0.7.2.pre.24 vendor/bundle/ruby/2.7.0/bundler/gems/vagrant-22795b161bf6/lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.2.10.0 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.2.9.0 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.2.8.0 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.2.7.0 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.2.6.2 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.2.6.1 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.2.6.0 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.2.5.0 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.2.4.0 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.2.3.0 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.2.2.0 lib/vagrant/plugin/v2/guest.rb