From c220835dafef19c9ce17e5e9de02ea6f4af166f0 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Sun, 3 Mar 2013 20:42:29 -0300 Subject: [PATCH] Update README --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c4cccb9..d28ea83 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ sudo apt-get install lxc bsdtar containers' IPs * No provisioning [yet](https://github.com/fgrehm/vagrant-lxc/issues/16) * `sudo`s +* only ubuntu cloudimg supported, I'm still [figuring out what should go on the .box](https://github.com/fgrehm/vagrant-lxc/issues/4) +* "[works](https://github.com/fgrehm/vagrant-lxc/issues/20) on [my machine](https://github.com/fgrehm/vagrant-lxc/issues/7)" (TM) * plus a bunch of other [core features](https://github.com/fgrehm/vagrant-lxc/issues?labels=core&milestone=&page=1&state=open) @@ -54,7 +56,10 @@ gets installed, create a `Vagrantfile` like the one below and run `vagrant-lxc u Vagrant.configure("2") do |config| config.vm.box = "ubuntu-cloud" config.vm.provider :lxc do |lxc| - # ... some lxc options that will come here soon ... + # Same as 'customize ["modifyvm", :id, "--memory", "1024"]' for VirtualBox + lxc.start_opts << 'lxc.cgroup.memory.limit_in_bytes=400M' + # Limits swap size + lxc.start_opts << 'lxc.cgroup.memory.memsw.limit_in_bytes=500M' end end ```