Sha256: a881f4c313c99568ce39929e6b9e0f633fa0edfee9889d83250c5fce04fc1f4d

Contents?: true

Size: 294 Bytes

Versions: 31

Compression:

Stored size: 294 Bytes

Contents

require "vagrant"

module VagrantPlugins
  module GuestCoreOS
    class Guest < Vagrant.plugin("2", :guest)
      def detect?(machine)
        machine.communicate.test("(cat /etc/os-release | grep ID=coreos) || (cat /etc/os-release | grep -E 'ID_LIKE=.*coreos.*')")
      end
    end
  end
end

Version data entries

31 entries across 27 versions & 4 rubygems

Version Path
vagrant-unbundled-2.2.0.0 plugins/guests/coreos/guest.rb
vagrant-unbundled-2.1.4.0 plugins/guests/coreos/guest.rb
vagrant-unbundled-2.1.2.0 plugins/guests/coreos/guest.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-04f7215b5e3f/plugins/guests/coreos/guest.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-04f7215b5e3f/plugins/guests/coreos/guest.rb
vagrant-packet-0.1.2 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-04f7215b5e3f/plugins/guests/coreos/guest.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-04f7215b5e3f/plugins/guests/coreos/guest.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-04f7215b5e3f/plugins/guests/coreos/guest.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-04f7215b5e3f/plugins/guests/coreos/guest.rb
vagrant-unbundled-2.1.1.0 plugins/guests/coreos/guest.rb
vagrant-unbundled-2.0.4.0 plugins/guests/coreos/guest.rb