apt-get clean
apt-get update
apt-get upgrade -y
# Update to the latest kernel
apt-get install -y linux-generic linux-image-generic linux-server
# Hide Ubuntu splash screen during OS Boot, so you can see if the boot hangs
apt-get remove -y plymouth-theme-ubuntu-text
sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet"/GRUB_CMDLINE_LINUX_DEFAULT=""/' /etc/default/grub
update-grub
# Reboot with the new kernel
shutdown -r now
sleep 60
Minimal Ubuntu 16.04 Vagrant box for VMWare products.
I could not, for the life of me, figure out how to ditch the vagrant user for the packer build process. Keeping it for now, will remove during the vagrant setup.