Sha256: 8b2b301d3af4b44800ffa46c3d6ef53ea6b688a795e00a2f8684c36648a63c60

Contents?: true

Size: 315 Bytes

Versions: 2

Compression:

Stored size: 315 Bytes

Contents

require "vagrant"

require Vagrant.source_root.join("plugins/guests/debian/guest")

module VagrantPlugins
  module GuestVyatta
    class Guest < VagrantPlugins::GuestDebian::Guest
      def detect?(machine)
        machine.communicate.test("cat /etc/issue | grep -e 'Vyatta' -e 'VyOS'")
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-vyatta-0.0.5 lib/vagrant-vyatta/guest.rb
vagrant-vyatta-0.0.4 lib/vagrant-vyatta/guest.rb