Created
April 14, 2013 16:50
-
-
Save banyan/5383379 to your computer and use it in GitHub Desktop.
Vagrantfile for vagrant-lxc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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