Skip to content

Instantly share code, notes, and snippets.

@sdwilsh
Last active May 30, 2020 22:53
Show Gist options
  • Save sdwilsh/3a4121927dbda57ba1c8ff03a1967d65 to your computer and use it in GitHub Desktop.
Save sdwilsh/3a4121927dbda57ba1c8ff03a1967d65 to your computer and use it in GitHub Desktop.
Ubuntu Server Setup for Network Booting a Pi 4
# Fetch and Install Dependencies
sudo apt install \
cloud-guest-utils \
golang-go \
kpartx \
nfs-common \
open-iscsi \
qemu-user-static
# Install Packer
https://releases.hashicorp.com/packer/1.5.6/packer_1.5.6_linux_amd64.zip
shasum -a256 packer_1.5.6_linux_amd64.zip
unzip packer_1.5.6_linux_amd64.zip
rm packer_1.5.6_linux_amd64.zip
sudo mv packer /usr/local/bin/
sudo chown root:root /usr/local/bin/packer
# Get and Build Packer Plugin
git clone https://github.com/solo-io/packer-builder-arm-image
cd packer-builder-arm-image
go mod download
go build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment