vagrant/plugins/guests/tinycore/guest.rb

12 lines
236 B
Ruby
Raw Normal View History

require "vagrant"
module VagrantPlugins
module GuestTinyCore
class Guest < Vagrant.plugin("2", :guest)
def detect?(machine)
machine.communicate.test("cat /etc/issue | grep 'Core Linux'")
end
end
end
end