From 501073804366a2bf8140b5577f3e2bb59ff861df Mon Sep 17 00:00:00 2001 From: Artur Roszczyk Date: Sat, 3 Aug 2013 19:55:17 +0200 Subject: [PATCH] Improve Gentoo guest detection --- plugins/guests/gentoo/guest.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/gentoo/guest.rb b/plugins/guests/gentoo/guest.rb index 33af4ae5d..a4c77e9e6 100644 --- a/plugins/guests/gentoo/guest.rb +++ b/plugins/guests/gentoo/guest.rb @@ -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