Class: Vagrant::LXC::Config
- Inherits:
-
Object
- Object
- Vagrant::LXC::Config
- Defined in:
- lib/vagrant-lxc/config.rb
Instance Attribute Summary collapse
-
#start_opts ⇒ Array
readonly
An array of options to be passed to lxc-start when booting the machine.
-
#target_rootfs_path ⇒ Object
Base directory to store container’s rootfs.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
15 16 17 18 |
# File 'lib/vagrant-lxc/config.rb', line 15 def initialize @start_opts = [] @target_rootfs_path = nil end |
Instance Attribute Details
#start_opts ⇒ Array (readonly)
An array of options to be passed to lxc-start when booting the machine.
7 8 9 |
# File 'lib/vagrant-lxc/config.rb', line 7 def start_opts @start_opts end |
#target_rootfs_path ⇒ Object
Base directory to store container’s rootfs
Defaults to nil, which means it will be stored wherever the lxc template tells it to be stored
13 14 15 |
# File 'lib/vagrant-lxc/config.rb', line 13 def target_rootfs_path @target_rootfs_path end |