Last active
November 20, 2016 11:29
-
-
Save wader/c4a2eb7b89bfd034b454 to your computer and use it in GitHub Desktop.
Vagrant ubuntu development machine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Or just
vagrant init debian/jessie64 && vagrant upetc