2013-02-28 03:20:54 +00:00
|
|
|
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__)
|
2013-04-01 23:56:06 +00:00
|
|
|
|
2013-04-05 05:08:07 +00:00
|
|
|
I18n.load_path << File.expand_path(File.dirname(__FILE__) + '/../../locales/en.yml')
|
2013-04-01 23:56:06 +00:00
|
|
|
I18n.reload!
|
|
|
|
|
2013-02-28 03:20:54 +00:00
|
|
|
Provider
|
|
|
|
end
|
|
|
|
|
|
|
|
config(:lxc, :provider) do
|
|
|
|
require File.expand_path("../config", __FILE__)
|
|
|
|
Config
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|