f716dca6ab
Closes #9
16 lines
422 B
Ruby
16 lines
422 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
Vagrant.require_plugin 'vagrant-lxc'
|
|
|
|
Vagrant.configure("2") do |config|
|
|
config.vm.box = "ubuntu-cloud"
|
|
config.vm.hostname = 'ubuntu-cloud-box'
|
|
|
|
config.vm.synced_folder "/tmp", "/vagrant_data"
|
|
|
|
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'
|
|
end
|
|
end
|