Sha256: 6b50ba0aef9931f106aae583e6837a36c64eda32997456f8cbff709c23d6eead

Contents?: true

Size: 516 Bytes

Versions: 22

Compression:

Stored size: 516 Bytes

Contents

# A general Vagrant system implementation for "solaris 11".
#
# Contributed by Jan Thomas Moldung <janth@moldung.no>

require "vagrant"

module VagrantPlugins
  module GuestSolaris11
    class Guest < Vagrant.plugin("2", :guest)
      def detect?(machine)
        success = machine.communicate.test("grep 'Solaris 11' /etc/release")
        return success if success

        # for solaris derived guests like openindiana
        machine.communicate.test("uname -sr | grep 'SunOS 5.11'")
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 3 rubygems

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