Merge pull request #1640 from aszeszo/master

More robust Solaris detection
This commit is contained in:
Mitchell Hashimoto 2013-04-22 20:28:27 -07:00
commit 1d971a2128
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>
class Guest < Vagrant.plugin("2", :guest)
def detect?(machine)
machine.communicate.test("grep 'Solaris' /etc/release")
machine.communicate.test("uname -o|grep Solaris")
end
end
end