vagrant/plugins/guests/mint/guest.rb

12 lines
232 B
Ruby

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