2018-03-01 13:05:26 +02:00

10 lines
227 B
Ruby

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