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
|
@ -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("uname -s | grep SunOS")
|
machine.communicate.test("uname -sr | grep SunOS | grep -v 5.11")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue