From 0558709c04a98bd33ed107951949c241ba38fa03 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Fri, 4 Mar 2022 00:05:55 +0100 Subject: [PATCH] Added Vagrantfile for a preview of the latest XFCE4 desktop --- vagrant/xfce4-latest/Vagrantfile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 vagrant/xfce4-latest/Vagrantfile diff --git a/vagrant/xfce4-latest/Vagrantfile b/vagrant/xfce4-latest/Vagrantfile new file mode 100644 index 0000000..2873322 --- /dev/null +++ b/vagrant/xfce4-latest/Vagrantfile @@ -0,0 +1,28 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant.configure("2") do |config| + config.vm.box = "archlinux/archlinux" + + config.vm.provider "virtualbox" do |vb| + vb.name = "xfce4 latest" + vb.memory = "3072" + vb.gui = true + vb.customize ["modifyvm", :id, "--vram", "64"] + vb.customize ["modifyvm", :id, "--graphicscontroller", "vmsvga"] + vb.customize ["modifyvm", :id, "--cpuexecutioncap", "50"] + end + + config.vm.provision "shell", inline: <<-SHELL + pacman --noconfirm \ + --remove --nosave --recursive --unneeded \ + virtualbox-guest-utils-nox + pacman --noconfirm \ + --sync --needed --noprogressbar --quiet --refresh \ + virtualbox-guest-utils + SHELL + config.vm.provision "shell", path: "../../scripts/archlinux/xfce4.install.sh" + config.vm.provision "shell", inline: <<-SHELL + shutdown -r now + SHELL +end