adding ability to detect solaris operating system to linux guest plugin
This commit is contained in:
parent
fc95944631
commit
761a64f899
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue