vagrant/plugins/guests/alpine/guest.rb

12 lines
223 B
Ruby
Raw Normal View History

require 'vagrant'
module VagrantPlugins
module GuestAlpine
class Guest < Vagrant.plugin('2', :guest)
def detect?(machine)
machine.communicate.test('cat /etc/alpine-release')
end
end
end
end