More specific Solaris 11 detection

This commit is contained in:
Myles Steinhauser 2014-01-14 09:56:01 -05:00
parent e5445442c1
commit b34fdf010b
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ module VagrantPlugins
module GuestSolaris11
class Guest < Vagrant.plugin("2", :guest)
def detect?(machine)
machine.communicate.test("uname -s | grep SunOS")
machine.communicate.test("uname -sr | grep 'SunOS 5.11'")
end
end
end