#1639 Better Solaris OS detection

This commit is contained in:
Andrzej Szeszo 2013-04-22 19:05:15 +02:00
parent 280afa96c4
commit b0ad782249
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ module VagrantPlugins
# Contributed by Blake Irvin <b.irvin@modcloth.com> # Contributed by Blake Irvin <b.irvin@modcloth.com>
class Guest < Vagrant.plugin("2", :guest) class Guest < Vagrant.plugin("2", :guest)
def detect?(machine) def detect?(machine)
machine.communicate.test("grep 'Solaris' /etc/release") machine.communicate.test("uname -o|grep Solaris")
end end
end end
end end