adding ability to detect solaris operating system to linux guest plugin

This commit is contained in:
Conor Horan-Kates 2013-03-11 08:42:06 -07:00
parent fc95944631
commit 761a64f899
1 changed files with 1 additions and 0 deletions

View File

@ -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