the label changed in 2.0

This commit is contained in:
Art Win 2018-03-01 13:05:26 +02:00
parent 04fdab961e
commit 9c93e548af
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