Improve Gentoo guest detection

This commit is contained in:
Artur Roszczyk 2013-08-03 19:55:17 +02:00
parent 16002d03c0
commit 5010738043
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ module VagrantPlugins
module GuestGentoo
class Guest < Vagrant.plugin("2", :guest)
def detect?(machine)
machine.communicate.test("cat /etc/gentoo-release")
machine.communicate.test("grep Gentoo /etc/gentoo-release")
end
end
end