Created
April 14, 2016 00:12
-
-
Save datafunk/d941f7b24568ef5385040b771b783c94 to your computer and use it in GitHub Desktop.
Vagrant Ubuntu Trausty 64
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.provider "virtualbox" do |vb| | |
# # Display the VirtualBox GUI when booting the machine | |
vb.gui = true | |
# # Customize the amount of memory on the VM: | |
vb.memory = "1024" | |
end | |
# Install xfce and virtualbox additions | |
config.vm.provision "shell", inline: "sudo apt-get update" | |
config.vm.provision "shell", inline: "sudo apt-get install -y xfce4 virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11" | |
# Permit anyone to start the GUI | |
config.vm.provision "shell", inline: "sudo sed -i 's/allowed_users=.*$/allowed_users=anybody/' /etc/X11/Xwrapper.config" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment