Merge pull request #1714 from aszeszo/master

Use proper detection for Solaris
This commit is contained in:
Mitchell Hashimoto 2013-06-09 15:55:24 -07:00
commit ba242cd978
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("uname -o | grep Solaris")
machine.communicate.test("uname -s | grep SunOS")
end
end
end