Sha256: d443320f5dc7a12055846b25d6ef77b8736d6aaaa53ccf18701b5fb4e17a2b85

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 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 'Vyatta'")
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-vyatta-0.0.3 lib/vagrant-vyatta/guest.rb
vagrant-vyatta-0.0.2 lib/vagrant-vyatta/guest.rb
vagrant-vyatta-0.0.1 lib/vagrant-vyatta/guest.rb