Sha256: e8aa76e5feeff3ca2ef916a6b6949e8d223f6e690447aa0d86bafb46c46727b4

Contents?: true

Size: 985 Bytes

Versions: 2

Compression:

Stored size: 985 Bytes

Contents

require "vagrant"

module VagrantPlugins
  module GuestTinyCore
    class Plugin < Vagrant.plugin("2")
      name "TinyCore Linux guest."
      description "TinyCore Linux guest support."

      guest("tinycore", "linux")  do
        require File.expand_path("../guest", __FILE__)
        Guest
      end

      guest_capability("tinycore", "configure_networks") do
        require_relative "cap/configure_networks"
        Cap::ConfigureNetworks
      end

      guest_capability("tinycore", "change_host_name") do
        require_relative "cap/change_host_name"
        Cap::ChangeHostName
      end

      guest_capability("tinycore", "halt") do
        require_relative "cap/halt"
        Cap::Halt
      end

      guest_capability("tinycore", "rsync_install") do
        require_relative "cap/rsync"
        Cap::RSync
      end

      guest_capability("tinycore", "mount_nfs_folder") do
        require_relative "cap/mount_nfs"
        Cap::MountNFS
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-unbundled-1.8.4.2 plugins/guests/tinycore/plugin.rb
vagrant-unbundled-1.8.4.1 plugins/guests/tinycore/plugin.rb