fsherratt / upgraded-parakeet

Project Upgraded Parakeet
GNU General Public License v3.0
2 stars 0 forks source link

Create custom Vagrant Box based on Minimal Ubuntu image with Desktop #63

Open fsherratt opened 3 years ago

fsherratt commented 3 years ago

The current vagrant box requires a lot of packages to be installed that are normally standard with Ubuntu. Creating a custom box could reduce VM setup time considerably

Links: Creating a Base Box

fsherratt commented 3 years ago

I followed this guide Building a Vagrant Box from Start to Finish

I have built an image based on Ubuntu 20.04.2.0 - Desktop minimal install — Image here v0.0.1

The initial box contains the following packages

build-essential
linux-generic
linux-image-generic
python3-pip
fsherratt commented 3 years ago

Issues in v0.0.1 — commit 605a3b6b9678e630d650a6b20c7ee85943e341fc:

fsherratt commented 3 years ago

Add gsettings set org.gnome.desktop.session idle-delay 0 to vagrant box

fsherratt commented 3 years ago

Above addressed in 48f95337e67956410f12f9238d6fa0fec78fecf8. Will close once tested by others

fsherratt commented 3 years ago

This doesn't work on MacOS (Catalina 10.15.7) - The command line interface works fine but the login screen doesn't load. Purging gdm3 and reinstalling ubuntu-desktop brought up the login screen but an error occurred after logging in.

v0.0.4 of the box was made from an MacOS VM install. This works correctly on Mac and Windows.

I did slightly change the install process - all changes to the install were made using terminal rather than the GUI. The vagrant user GUI was not used

fsherratt commented 3 years ago

This should be addressed

Warning: running 'rosdep update' as root is not recommended.
   You should run 'sudo rosdep fix-permissions' and invoke 'rosdep update' again without sudo.

The provisioning option privileged should be able to do this Shell Provisioner — Options