🟢 Stable | LXC provider for Vagrant (up-to-date & maintained)
Find a file
2013-02-27 18:44:41 -03:00
dev Switch back to vagrant as submodule in order to ease debugging 2013-02-27 01:59:30 -03:00
lib Gem boilerplate 2013-02-25 20:09:32 -03:00
spec Not so initial commit 2013-02-25 02:04:31 -03:00
tasks Not so initial commit 2013-02-25 02:04:31 -03:00
vagrant@68aa9c8acf Switch back to vagrant as submodule in order to ease debugging 2013-02-27 01:59:30 -03:00
.gitignore Not so initial commit 2013-02-25 02:04:31 -03:00
.gitmodules Switch back to vagrant as submodule in order to ease debugging 2013-02-27 01:59:30 -03:00
.rspec Not so initial commit 2013-02-25 02:04:31 -03:00
.vimrc Not so initial commit 2013-02-25 02:04:31 -03:00
config.yml.sample Not so initial commit 2013-02-25 02:04:31 -03:00
Gemfile Switch back to vagrant as submodule in order to ease debugging 2013-02-27 01:59:30 -03:00
Gemfile.lock Switch back to vagrant as submodule in order to ease debugging 2013-02-27 01:59:30 -03:00
Guardfile Not so initial commit 2013-02-25 02:04:31 -03:00
LICENSE.txt Gem boilerplate 2013-02-25 20:09:32 -03:00
Rakefile Not so initial commit 2013-02-25 02:04:31 -03:00
README.md Update README with time take to setup dev box 2013-02-26 00:35:26 -03:00
setup-vagrant-dev-box Install bsdtar package (vagrant dependency) on vagrant dev box 2013-02-27 18:44:41 -03:00
vagrant-lxc.gemspec Gem boilerplate 2013-02-25 20:09:32 -03:00
Vagrantfile Not so initial commit 2013-02-25 02:04:31 -03:00

vagrant-lxc

Highly experimental, soon to come, Linux Containers support for the unreleased Vagrant 1.1

WARNING

Please keep in mind that this is not even alpha software and things might go wrong. Although I'm brave enough to use it on my physical machine, its recommended that you try it out on the Vagrant dev box ;)

Development

On your host:

./setup-vagrant-dev-box
vagrant ssh

NOTE: This takes around 12 minutes on a 15mb connection after the base vagrant box and ubuntu lxc cloud img have been downloaded

On the guest machine:

mkdir /tmp/vagrant-lxc
cp /vagrant/config.yml.sample /tmp/vagrant-lxc/config.yml
cd /tmp/vagrant-lxc
/vagrant/lib/provider up
/vagrant/lib/provider ssh

Troubleshooting

If your container / dev box start acting weird, run vagrant reload to see if things get back to normal.

In case vagrant reload doesn't work, restore the VirtualBox snapshot that was created automagically right after ./setup-vagrant-dev-box finished by running the same script again and selecting the [r]estore snapshot option when asked.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request