vagrant/plugins/guests/debian/guest.rb

10 lines
214 B
Ruby

module VagrantPlugins
module GuestDebian
class Guest < Vagrant.plugin("2", :guest)
def detect?(machine)
machine.communicate.test("cat /proc/version | grep 'Debian'")
end
end
end
end