4 VAGRANTFILE_API_VERSION = "2"
\r
6 Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
\r
8 config.vm.box = "ubuntu/trusty64"
\r
10 config.vm.provider "virtualbox" do |vb|
\r
11 # GUI can be enabled after provisioning. For now SSH and GUI is not compatible
\r
13 vb.customize ["modifyvm", :id, "--memory", "4096"]
\r
16 config.vm.provision :shell, :path => "bootstrap.sh"
\r
18 config.ssh.forward_x11=true
\r
20 # update definitions
\r
21 config.vm.provision "shell", inline: "apt-get update"
\r
23 # just the basic desktop environment. if you want the addons, you can install them later
\r
24 config.vm.provision "shell", inline: "apt-get install xubuntu-desktop --no-install-recommends --assume-yes"
\r
26 # otherwise icons don't get loaded
\r
27 config.vm.provision "shell", inline: "apt-get install xubuntu-icon-theme --assume-yes"
\r
29 #activate logon with gui and reboot
\r
30 config.vm.provision "shell", inline: "dpkg-reconfigure lightdm"
\r
31 config.vm.provision "shell", inline: "reboot"
\r