Sha256: 286c84010cf20ec8d7328caf6a57e3e86a5a8fd3c72a6081fe34bf1a1240146a

Contents?: true

Size: 619 Bytes

Versions: 7

Compression:

Stored size: 619 Bytes

Contents

require "vagrant"

module Vagrant
  module LXC
    class Plugin < Vagrant.plugin("2")
      name "Linux Containers (LXC) provider"
      description <<-EOF
      The LXC provider allows Vagrant to manage and control
      LXC-based virtual machines.
      EOF

      provider(:lxc) do
        require File.expand_path("../provider", __FILE__)

        I18n.load_path << File.expand_path(File.dirname(__FILE__) + '/../../locales/en.yml')
        I18n.reload!

        Provider
      end

      config(:lxc, :provider) do
        require File.expand_path("../config", __FILE__)
        Config
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vagrant-lxc-0.5.0 lib/vagrant-lxc/plugin.rb
vagrant-lxc-0.4.0 lib/vagrant-lxc/plugin.rb
vagrant-lxc-0.3.4 lib/vagrant-lxc/plugin.rb
vagrant-lxc-0.3.3 lib/vagrant-lxc/plugin.rb
vagrant-lxc-0.3.2 lib/vagrant-lxc/plugin.rb
vagrant-lxc-0.3.1 lib/vagrant-lxc/plugin.rb
vagrant-lxc-0.3.0 lib/vagrant-lxc/plugin.rb