Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@banyan
Created April 14, 2013 16:50
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 banyan/5383379 to your computer and use it in GitHub Desktop.
Save banyan/5383379 to your computer and use it in GitHub Desktop.
Vagrantfile for vagrant-lxc
Vagrant.configure("2") do |config|
config.vm.box = 'lxc-quantal64'
config.vm.hostname = 'rails-dev-box'
# config.vm.forward_port 3000, 3000
config.vm.provision :puppet,
:manifests_path => 'puppet/manifests',
:module_path => 'puppet/modules'
# config.vm.provider :lxc do |lxc|
# OPTIONAL: Same effect as as 'customize ["modifyvm", :id, "--memory", "1024"]' for VirtualBox
# lxc.customize 'cgroup.memory.limit_in_bytes', '1024M'
# OPTIONAL: Limits swap size
# lxc.customize 'cgroup.memory.memsw.limit_in_bytes', '512M'
# end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment