More specific Solaris 11 detection
This commit is contained in:
parent
e5445442c1
commit
b34fdf010b
|
@ -8,7 +8,7 @@ module VagrantPlugins
|
||||||
module GuestSolaris11
|
module GuestSolaris11
|
||||||
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 5.11'")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue