Skip to content

Instantly share code, notes, and snippets.

View ciastek's full-sized avatar

Sebastian Spieszko ciastek

View GitHub Profile
@ciastek
ciastek / gist:2776416
Created May 23, 2012 17:09
Global Vagrantfile to override number of CPUs used by VM
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.customize ["modifyvm", :id, "--cpus", 2]
end
@ciastek
ciastek / gist:2028806
Created March 13, 2012 13:35
vagrant lucid32 restart networking
# ./Vagrantfile
Vagrant::Config.run do |config|
# (...)
config.vm.provision :puppet
# (...)
end
# ./manifests/default.pp
include lucid
class lucid {