vagrant/plugins/guests/slackware/guest.rb

12 lines
229 B
Ruby

require "vagrant"
module VagrantPlugins
module GuestSlackware
class Guest < Vagrant.plugin("2", :guest)
def detect?(machine)
machine.communicate.test("cat /etc/slackware-version")
end
end
end
end