Netboot Raspberry Pi Part IV: Using Packer and Ansible to create a Raspberry Pi Ubuntu Netboot Image
This is the fourth part of the Pi netboot series. Find the previous parts from the introductory article here. In this part of the series, I will go over using a combination of HashiCorp Packer and Ansible to create an Ubuntu Linux image for a netbootable Raspberry Pi, using NFS for the boot partition and a Ceph RBD as the root device. The goal here is to show you how to set up Packer and what configuration is needed to run an Ansible playbook in an aarch64 image on a x86_64 machine. While writing the article, I realized that it had already gotten pretty long, so I will move the description of the Ansible playbook as well as the final image deployment to future articles. ...