Skip to content

Instantly share code, notes, and snippets.

@wader
Last active November 20, 2016 11:29
Show Gist options
  • Save wader/c4a2eb7b89bfd034b454 to your computer and use it in GitHub Desktop.
Save wader/c4a2eb7b89bfd034b454 to your computer and use it in GitHub Desktop.
Vagrant ubuntu development machine
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "wily"
config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/wily/current/wily-server-cloudimg-amd64-vagrant-disk1.box"
config.ssh.forward_agent = true
config.vm.provider :virtualbox do |vb, override|
vb.customize ["modifyvm", :id, "--cpus", 8]
vb.customize ["modifyvm", :id, "--memory", 1024]
vb.customize ["modifyvm", :id, "--ioapic", "on"]
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
override.vm.provision :shell, :inline => <<INLINE
set -e
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get -y dist-upgrade
apt-get -y install \
build-essential \
curl \
git-core
INLINE
end
end
@wader
Copy link
Author

wader commented Nov 20, 2016

Or just vagrant init debian/jessie64 && vagrant up etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment