Skip to content

Instantly share code, notes, and snippets.

@mullnerz
Created January 11, 2015 22:50
Show Gist options
  • Save mullnerz/509098d872ded2a7af35 to your computer and use it in GitHub Desktop.
Save mullnerz/509098d872ded2a7af35 to your computer and use it in GitHub Desktop.
Simple Ubuntu 14.04 server vagrant template
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "uec-images.ubuntu.com/trusty64"
config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "4096"]
vb.customize ["modifyvm", :id, "--cpus", "4"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment