Sha256: 358d9dd1b1cd0312a9d52c4f23f2b090512659773c449fb886ef01a6cbc01305

Contents?: true

Size: 978 Bytes

Versions: 11

Compression:

Stored size: 978 Bytes

Contents

require "vagrant"

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

      guest("vyos", "debian") do
        require File.expand_path("../guest", __FILE__)
        Guest
      end

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

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

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

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

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
vagrant-vyos-1.1.12 lib/vagrant-vyos/plugin.rb
vagrant-vyos-1.1.10 lib/vagrant-vyos/plugin.rb
vagrant-vyos-1.1.9 lib/vagrant-vyos/plugin.rb
vagrant-vyos-1.1.7 lib/vagrant-vyos/plugin.rb
vagrant-vyos-1.1.6 lib/vagrant-vyos/plugin.rb
vagrant-vyos-1.1.5 lib/vagrant-vyos/plugin.rb
vagrant-vyos-1.1.4 lib/vagrant-vyos/plugin.rb
vagrant-vyos-1.1.3 lib/vagrant-vyos/plugin.rb
vagrant-vyos-1.1.2 lib/vagrant-vyos/plugin.rb
vagrant-vyos-1.1.1 lib/vagrant-vyos/plugin.rb
vagrant-vyos-1.1.0 lib/vagrant-vyos/plugin.rb