Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.
Fabio Rehm edited this page Oct 8, 2013 · 10 revisions

How can I store container's rootfs on a separate partition?

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.

Does NFS synced folders work?

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.

How can I set a static IP for the container?

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.

How can I build a base box / container?

See the Base boxes page of this wiki.

I'm having trouble with Berkshelf / librarian-chef!

Unfortunately it is an issue with Berkshelf and librarian which causes provisioning to fail.

Clone this wiki locally