Skip to content

Instantly share code, notes, and snippets.

@mowings
Last active December 27, 2015 00:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mowings/7235687 to your computer and use it in GitHub Desktop.
Save mowings/7235687 to your computer and use it in GitHub Desktop.
Install lxc-0.9.0 on Ubuntu 12.04 so that it works with vagrant-lxc You'll need to build it and be sure it does NOT install in /usr/local
apt-get install automake pkg-config libcap-dev # You'll need these to build 0.9.0
sudo apt-get install lxc # Get 0.7.5 so you get upstart scripts and networking stuff
wget https://github.com/lxc/lxc/archive/lxc-0.9.0.tar.gz # Get 0.9.0
tar -xzvf lxc-0.9.0.tar.gz
cd lxc-lxc-0.9.0
./autogen.sh
./configure --prefix=/usr
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment