I've updated the repository with a new builder for Ubuntu 18.04 (“Bionic Beaver”) which works in the same manner. There are a few notable changes compared to the 16.04 builder described in the last post:
- It no longer is necessary to install the
zfs-zedpackages on either the surrogate or inside the chroot, which makes the build proceed substantially faster.
- Netplan is now used to configure
eth0for DHCP instead of an entry in
net.ifnames=0is still set via GRUB as recommended by the AWS ENA Guide.
- CloudInit is no longer pinned to a specific revision - this was done in the 16.04 builder to work around a regression which prevented key pairs from being populated correctly with some versions of CloudInit.
As before, the
bionic template builds using a spot instance in the
us-west-2 region, and copies the resulting AMI to the regions specified in the template.
I've also cleaned up some aspects of the
xenial template to make it compatible with newer versions of Packer, and improved the bash hygiene throughout, which may be interesting for those choosing not to upgrade.
If you use any of these templates, please feel free to open issues or pull-requests on the jen20/packer-ubuntu-zfs repository!