2013-02-28 03:20:54 +00:00
|
|
|
module Vagrant
|
|
|
|
module LXC
|
|
|
|
class Config < Vagrant.plugin("2", :config)
|
2013-03-03 07:37:07 +00:00
|
|
|
# An array of options to be passed to lxc-start when booting the machine.
|
|
|
|
#
|
|
|
|
# @return [Array]
|
|
|
|
attr_reader :start_opts
|
|
|
|
|
2013-03-08 05:19:48 +00:00
|
|
|
# The ip set for the built in LXC dhcp server (defaults to configured ip
|
|
|
|
# at /etc/default/lxc or 10.0.3.1)
|
|
|
|
#
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :lxc_dhcp_ip
|
|
|
|
|
2013-03-03 07:37:07 +00:00
|
|
|
def initialize
|
2013-03-08 05:19:48 +00:00
|
|
|
@start_opts = []
|
|
|
|
@lxc_dhcp_ip = '10.0.3.1'
|
2013-03-03 07:37:07 +00:00
|
|
|
end
|
2013-02-28 03:20:54 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|