From c47522658e5a8124e9c4d6dcca62714686a32497 Mon Sep 17 00:00:00 2001 From: Andrzej Szeszo Date: Fri, 10 May 2013 15:19:47 +0200 Subject: [PATCH] #1639 Better Solaris OS detection (use portable method that actually works) --- 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 e0eab6709..4256c61cd 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 -o | grep Solaris") + machine.communicate.test("uname -s | grep SunOS") end end end