From 761a64f899e31b0a1f5ff4b84b504ef735e2d68d Mon Sep 17 00:00:00 2001 From: Conor Horan-Kates Date: Mon, 11 Mar 2013 08:42:06 -0700 Subject: [PATCH] adding ability to detect solaris operating system to linux guest plugin --- plugins/guests/linux/guest.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/guests/linux/guest.rb b/plugins/guests/linux/guest.rb index a85a24a6c..7c0d8b1e5 100644 --- a/plugins/guests/linux/guest.rb +++ b/plugins/guests/linux/guest.rb @@ -30,6 +30,7 @@ module VagrantPlugins return :redhat if comm.test("cat /etc/redhat-release") return :suse if comm.test("cat /etc/SuSE-release") return :arch if comm.test("cat /etc/arch-release") + return :solaris if comm.test("grep 'Solaris' /etc/release") end # Can't detect the distro, assume vanilla linux