From e5445442c1e72343d2cd692bc8bad5bee681542d Mon Sep 17 00:00:00 2001 From: "Myles A. K. Steinhauser" Date: Tue, 14 Jan 2014 09:52:27 -0500 Subject: [PATCH] More specific Solaris <11 detection. Note: This will probably break on Solaris 12+, but not certain of a better approach for now. --- plugins/guests/solaris/guest.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/solaris/guest.rb b/plugins/guests/solaris/guest.rb index 4256c61cd..d0c84f94a 100644 --- a/plugins/guests/solaris/guest.rb +++ b/plugins/guests/solaris/guest.rb @@ -7,7 +7,7 @@ module VagrantPlugins # Contributed by Blake Irvin class Guest < Vagrant.plugin("2", :guest) def detect?(machine) - machine.communicate.test("uname -s | grep SunOS") + machine.communicate.test("uname -sr | grep SunOS | grep -v 5.11") end end end