mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
More specific Solaris <11 detection.
Note: This will probably break on Solaris 12+, but not certain of a better approach for now.
This commit is contained in:
parent
9cf0387e00
commit
e5445442c1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 -s | grep SunOS")
|
||||
machine.communicate.test("uname -sr | grep SunOS | grep -v 5.11")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue