Skip to content

Instantly share code, notes, and snippets.

@Firefishy
Created May 31, 2015 14:02
Show Gist options
  • Save Firefishy/e7539a6b2cdaa77e4b93 to your computer and use it in GitHub Desktop.
Save Firefishy/e7539a6b2cdaa77e4b93 to your computer and use it in GitHub Desktop.
Vagrantfile snippet
box.vm.provider "lxc" do |lxc, override|
override.vm.box = "fgrehm/trusty64-lxc"
override.vm.network "private_network", ip: vm_info[:ip], netmask: '255.255.255.0', lxc__bridge_name: 'vlxcbr1'
lxc.customize 'cgroup.memory.limit_in_bytes', "#{vm_info[:mem]}M"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment