-
Notifications
You must be signed in to change notification settings - Fork 181
FAQ
Before the 0.3.0 version of this plugin, there used to be a support for specifying the container's rootfs path from the Vagrantfile, on 0.3.0 this was removed as you can achieve the same effect by symlinking or mounting /var/lib/lxc
on a separate partition.
I don't have any plans to support it and will behave as a "normal" synced folder so we can share the same settings with VBox machines.
At some point Vagrant's network configurations will be supported, for now you can use the provider block like:
Vagrant.configure("2") do |config|
config.vm.box = "quantal64"
config.vm.provider :lxc do |lxc|
lxc.customize 'network.ipv4', '10.0.3.15/24'
end
end
Please keep in mind that it won't work for any IP you pass in, please check this issue for more information.
Although the official documentation says it is only supported for VirtualBox environments, the package command can be used to export a .box
file and you can also build one from scratch. Detailed instructions on building boxes from scratch will be written soon.