Merge pull request #1640 from aszeszo/master
More robust Solaris detection
This commit is contained in:
commit
1d971a2128
|
@ -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