vagrant/plugins/guests/suse/guest.rb

12 lines
255 B
Ruby
Raw Normal View History

require "vagrant"
module VagrantPlugins
module GuestSUSE
2013-04-04 19:25:10 +00:00
class Guest < Vagrant.plugin("2", :guest)
def detect?(machine)
machine.communicate.test("test -f /etc/SuSE-release || grep -q SUSE /etc/os-release")
end
end
end
end