#1639 Better Solaris OS detection
This commit is contained in:
parent
280afa96c4
commit
b0ad782249
|
@ -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("grep 'Solaris' /etc/release")
|
machine.communicate.test("uname -o|grep Solaris")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue