vagrant/plugins/guests/netbsd/guest.rb

12 lines
222 B
Ruby
Raw Normal View History

2014-01-14 06:25:35 +00:00
require "vagrant"
module VagrantPlugins
module GuestNetBSD
class Guest < Vagrant.plugin("2", :guest)
def detect?(machine)
machine.communicate.test("uname -s | grep NetBSD")
end
end
end
end