Merge pull request #9528 from artw/master

less specific string grep to fix PhotonOS 2.0 detection
This commit is contained in:
Brian Cain 2018-03-22 10:31:29 -07:00 committed by GitHub
commit 696ffa4e30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ module VagrantPlugins
module GuestPhoton
class Guest < Vagrant.plugin("2", :guest)
def detect?(machine)
machine.communicate.test("cat /etc/photon-release | grep 'VMware Photon Linux'")
machine.communicate.test("cat /etc/photon-release | grep 'VMware Photon'")
end
end
end