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.2.0.0 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.1.4.0 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.1.2.0 lib/vagrant/plugin/v2/guest.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-04f7215b5e3f/lib/vagrant/plugin/v2/guest.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-04f7215b5e3f/lib/vagrant/plugin/v2/guest.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-04f7215b5e3f/lib/vagrant/plugin/v2/guest.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-04f7215b5e3f/lib/vagrant/plugin/v2/guest.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-04f7215b5e3f/lib/vagrant/plugin/v2/guest.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-04f7215b5e3f/lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.1.1.0 lib/vagrant/plugin/v2/guest.rb
vagrant-unbundled-2.0.4.0 lib/vagrant/plugin/v2/guest.rb