Improve Gentoo guest detection
This commit is contained in:
parent
16002d03c0
commit
5010738043
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue