Skip to content

Instantly share code, notes, and snippets.

@mikekunze
Created November 15, 2013 15:50
Show Gist options
  • Save mikekunze/7486548 to your computer and use it in GitHub Desktop.
Save mikekunze/7486548 to your computer and use it in GitHub Desktop.
Ubuntu-Desktop-Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
​VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu"
# The url from where the 'config.vm.box' box will be fetched if it
# doesn't already exist on the user's system.
# config.vm.box_url = "http://domain.com/path/to/above.box"
config.ssh.forward_agent = true
config.ssh.forward_x11 = true
config.vm.provider :virtualbox do |vb|
vb.gui = true
vb.customize ["modifyvm", :id, "--memory", "2048"]
vb.customize ["modifyvm", :id, "--cpus", "2"]
vb.customize ["modifyvm", :id, "--graphicscontroller", "vboxvga"]
vb.customize ["modifyvm", :id, "--accelerate3d", "on"]
vb.customize ["modifyvm", :id, "--ioapic", "on"]
vb.customize ["modifyvm", :id, "--vram", "128"]
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment