vagrant-lxc-ng/example/Vagrantfile

17 lines
422 B
Text
Raw Normal View History

# -*- mode: ruby -*-
# vi: set ft=ruby :
2013-03-03 02:34:48 +00:00
Vagrant.require_plugin 'vagrant-lxc'
2013-03-02 19:51:28 +00:00
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu-cloud"
config.vm.hostname = 'ubuntu-cloud-box'
2013-03-04 01:42:18 +00:00
config.vm.synced_folder "/tmp", "/vagrant_data"
2013-03-02 19:51:28 +00:00
config.vm.provider :lxc do |lxc|
lxc.start_opts << 'lxc.cgroup.memory.limit_in_bytes=400M'
lxc.start_opts << 'lxc.cgroup.memory.memsw.limit_in_bytes=500M'
2013-03-02 19:51:28 +00:00
end
end