Merge pull request #9295 from mcandre/patch-2

recognize solaris alternatives
This commit is contained in:
Chris Roberts 2018-01-12 13:11:16 -08:00 committed by GitHub
commit 53fbf67d9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ module VagrantPlugins
module GuestSolaris11
class Guest < Vagrant.plugin("2", :guest)
def detect?(machine)
machine.communicate.test("uname -sr | grep 'SunOS 5.11'")
machine.communicate.test("uname -sr | grep 'SunOS.*5\\.11'")
end
end
end