Merge pull request #9528 from artw/master
less specific string grep to fix PhotonOS 2.0 detection
This commit is contained in:
commit
696ffa4e30
|
@ -2,7 +2,7 @@ module VagrantPlugins
|
||||||
module GuestPhoton
|
module GuestPhoton
|
||||||
class Guest < Vagrant.plugin("2", :guest)
|
class Guest < Vagrant.plugin("2", :guest)
|
||||||
def detect?(machine)
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue