Sha256: 61328335b106afca9cef6ff176ce939bbd9a0c29e63e49363cb9f1632ca8689c

Contents?: true

Size: 1.38 KB

Versions: 7

Compression:

Stored size: 1.38 KB

Contents

require "vagrant"

module VagrantPlugins
  module GuestOpenWrt
    class Plugin < Vagrant.plugin("2")
      name "OpenWrt guest"
      description "OpenWrt guest support."

      guest(:openwrt, :linux) do
        require_relative "guest"
        Guest
      end

      guest_capability(:openwrt, :insert_public_key) do
        require_relative "cap/insert_public_key"
        Cap::InsertPublicKey
      end

      guest_capability(:openwrt, :remove_public_key) do
        require_relative "cap/remove_public_key"
        Cap::RemovePublicKey
      end

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

      guest_capability(:openwrt, :rsync_installed) do
        require_relative "cap/rsync"
        Cap::RSync
      end

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

      guest_capability(:openwrt, :rsync_pre) do
        require_relative "cap/rsync"
        Cap::RSync
      end

      guest_capability(:openwrt, :rsync_command) do
        require_relative "cap/rsync"
        Cap::RSync
      end

      guest_capability(:openwrt, :rsync_post) do
        require_relative "cap/rsync"
        Cap::RSync
      end

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

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
vagrant-unbundled-2.3.6.0 plugins/guests/openwrt/plugin.rb
tamtam-vagrant-reload-1.2.1 vendor/cache/vagrant-2092df529ae7/plugins/guests/openwrt/plugin.rb
vagrant-unbundled-2.3.3.0 plugins/guests/openwrt/plugin.rb
vagrant-unbundled-2.3.2.0 plugins/guests/openwrt/plugin.rb
vagrant-unbundled-2.2.19.0 plugins/guests/openwrt/plugin.rb
vagrant-unbundled-2.2.18.0 plugins/guests/openwrt/plugin.rb
vagrant-unbundled-2.2.16.0 plugins/guests/openwrt/plugin.rb