Sha256: 062cf862fb60d9454c1d45eed22d7c356137a8b5d82fc8b87b4d74e4aee87cef

Contents?: true

Size: 334 Bytes

Versions: 15

Compression:

Stored size: 334 Bytes

Contents

# encoding: UTF-8
# Copyright (c) 2018 António Meireles. All Rights Reserved.

require 'vagrant'

module VagrantPlugins
  module GuestClearLinux
    class Guest < Vagrant.plugin('2', :guest)
      def detect?(machine)
        machine.communicate.test("cat /usr/lib/os-release | grep 'ID=clear-linux-os'")
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
vagrant-guests-clearlinux-1.1.3 lib/vagrant-guests-clearlinux/guest.rb
vagrant-guests-clearlinux-1.1.2 lib/vagrant-guests-clearlinux/guest.rb
vagrant-guests-clearlinux-1.1.1 lib/vagrant-guests-clearlinux/guest.rb
vagrant-guests-clearlinux-1.1.0 lib/vagrant-guests-clearlinux/guest.rb
vagrant-guests-clearlinux-1.0.16 lib/vagrant-guests-clearlinux/guest.rb
vagrant-guests-clearlinux-1.0.14 lib/vagrant-guests-clearlinux/guest.rb
vagrant-guests-clearlinux-1.0.13 lib/vagrant-guests-clearlinux/guest.rb
vagrant-guests-clearlinux-1.0.12 lib/vagrant-guests-clearlinux/guest.rb
vagrant-guests-clearlinux-1.0.11 lib/vagrant-guests-clearlinux/guest.rb
vagrant-guests-clearlinux-1.0.10 lib/vagrant-guests-clearlinux/guest.rb
vagrant-guests-clearlinux-1.0.9 lib/vagrant-guests-clearlinux/guest.rb
vagrant-guests-clearlinux-1.0.8 lib/vagrant-guests-clearlinux/guest.rb
vagrant-guests-clearlinux-1.0.7 lib/vagrant-guests-clearlinux/guest.rb
vagrant-guests-clearlinux-1.0.6 lib/vagrant-guests-clearlinux/guest.rb
vagrant-guests-clearlinux-1.0.5 lib/vagrant-guests-clearlinux/guest.rb