Vagrant: create a bionic64-desktop VM

The focal-desktop appears to have a problem where directories are
considered to be in-use when being deleted. Not reproduced by me, but
reliably by a Windows user.
This commit is contained in:
Peter Barker 2021-02-22 13:23:22 +11:00 committed by Peter Barker
parent 0c9559db6d
commit 4d9cfdaaa8
2 changed files with 11 additions and 0 deletions

View File

@ -34,6 +34,7 @@ EOF
sudo -u "$VAGRANT_USER" dbus-launch gsettings set org.gnome.desktop.session idle-delay 0 sudo -u "$VAGRANT_USER" dbus-launch gsettings set org.gnome.desktop.session idle-delay 0
# don't show the initial setup crap: # don't show the initial setup crap:
sudo -u "$VAGRANT_USER" mkdir -p /home/"$VAGRANT_USER"/.config
echo "yes" | sudo -u "$VAGRANT_USER" dd of=/home/"$VAGRANT_USER"/.config/gnome-initial-setup-done echo "yes" | sudo -u "$VAGRANT_USER" dd of=/home/"$VAGRANT_USER"/.config/gnome-initial-setup-done
# start the graphical environment right now: # start the graphical environment right now:

10
Vagrantfile vendored
View File

@ -120,6 +120,16 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
end end
end end
# 18.04 LTS
config.vm.define "bionic64-desktop", primary: true do |bionic64|
bionic64.vm.box = "ubuntu/bionic64"
bionic64.vm.provision :shell, path: "Tools/vagrant/initvagrant-desktop.sh"
bionic64.vm.provider "virtualbox" do |vb|
vb.name = "ArduPilot (bionic64-desktop)"
vb.gui = true
end
end
# 18.10 # 18.10
config.vm.define "cosmic32", autostart: false do |cosmic32| config.vm.define "cosmic32", autostart: false do |cosmic32|
cosmic32.vm.box = "ubuntu/cosmic32" cosmic32.vm.box = "ubuntu/cosmic32"