Sha256: 21f5e250aba38d2d5e790eb5543b97162efd43514bb718373263bd4c15609cac

Contents?: true

Size: 1.16 KB

Versions: 3

Compression:

Stored size: 1.16 KB

Contents

require 'vagrant'

module VagrantPlugins
  module GuestAlpine
    class Plugin < Vagrant.plugin('2')
      name 'Alpine guest'
      description 'Alpine Linux guest support.'

      guest(:alpine, :linux) do
        require File.expand_path('../guest', __FILE__)
        Guest
      end

      guest_capability(:alpine, :configure_networks) do
        require_relative 'cap/configure_networks'
        Cap::ConfigureNetworks
      end

      guest_capability(:alpine, :halt) do
        require_relative 'cap/halt'
        Cap::Halt
      end

      guest_capability(:alpine, :change_host_name) do
        require_relative 'cap/change_host_name'
        Cap::ChangeHostName
      end

      guest_capability(:alpine, :nfs_client_install) do
        require_relative 'cap/nfs_client'
        Cap::NFSClient
      end

      guest_capability(:alpine, :rsync_installed) do
        require_relative 'cap/rsync'
        Cap::RSync
      end

      guest_capability(:alpine, :rsync_install) do
        require_relative 'cap/rsync'
        Cap::RSync
      end

      guest_capability(:alpine, :smb_install) do
        require_relative 'cap/smb'
        Cap::SMB
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-unbundled-2.2.6.2 plugins/guests/alpine/plugin.rb
vagrant-unbundled-2.2.6.1 plugins/guests/alpine/plugin.rb
vagrant-unbundled-2.2.6.0 plugins/guests/alpine/plugin.rb