geerlingguy / packer-boxes

Jeff Geerling's Packer build configurations for Vagrant boxes.

Home Page:https://app.vagrantup.com/geerlingguy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Ubuntu 20.04 'Focal Fossa'

geerlingguy opened this issue · comments

It's due out in April (fast approaching), and preview builds are already available.

Would be nice to have it ready so I can start testing with it, and migrating projects to it (some are still stuck way back on 16.04!).

Added box, but it looks like installation is a bit different under 20.04; it takes about 80s to boot (vs < 10s for 18.04) as it does a bunch of updates and snap-based stuff on the first boot of the installer :/

Also glancing at tylert/packer-build@1a3363f for new boot sequence.

I got most everything working, with the exception of NFS—though it's probably due to host machine configuration (macOS Catalina):

==> virtualbox: Exporting NFS shared folders...
==> virtualbox: Preparing to edit /etc/exports. Administrator privileges will be required...
==> virtualbox: Mounting NFS shared folders...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mount -o vers=3,udp 172.16.3.1:/System/Volumes/Data/Users/jgeerling/Development/GitHub/packer-boxes/ubuntu2004 /vagrant

Stdout from the command:



Stderr from the command:

mount.nfs: access denied by server while mounting 172.16.3.1:/System/Volumes/Data/Users/jgeerling/Development/GitHub/packer-boxes/ubuntu2004