From 98eb8cef031e94694997b93365582bfc28f8f1d8 Mon Sep 17 00:00:00 2001 From: Andrew Pennebaker Date: Thu, 21 Dec 2017 13:07:00 -0600 Subject: [PATCH] recognize solaris alternatives As the Solaris project is dead, recognize that Solaris alternatives like DilOS and SmartOS feature a Solaris compatible kernel and capabilities. --- plugins/guests/solaris11/guest.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/solaris11/guest.rb b/plugins/guests/solaris11/guest.rb index a4d3c5b75..f7c46ee57 100644 --- a/plugins/guests/solaris11/guest.rb +++ b/plugins/guests/solaris11/guest.rb @@ -8,7 +8,7 @@ module VagrantPlugins module GuestSolaris11 class Guest < Vagrant.plugin("2", :guest) def detect?(machine) - machine.communicate.test("uname -sr | grep 'SunOS 5.11'") + machine.communicate.test("uname -sr | grep 'SunOS.*5\\.11'") end end end