mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-03-02 13:20:31 -05:00
14 lines
292 B
Ruby
14 lines
292 B
Ruby
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
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
|