Closed mvgijssel closed 1 year ago
Select Ubuntu Server 22.10 64-bit and flash to sd card.
Figure out IP using Unifi UI: 192.168.1.132
Change password and store in 1Password
Add SSH - Provisioner
Ed25519 SSH Key to 1Password and store in private Vault.
Copy the ssh key to provisioner using
ssh-copy-id ubuntu@192.168.1.132
Afterwards login to the machine and ensure only the right authorized key is kept
ssh ubuntu@192.168.1.132
vim ~/.ssh/authorized_keys
First apply the network changes only
bazel run //provisioner:provision -- --data install_network=True
Use the Raspberry Pi Imager to set parts of the configuration already
Update the hostname (and optionally the ip) in Unifi to provisioner
and start the first provision run. After the first bootstrap settings should be configured with pyinfra.
Install Raspberry Pi Imager https://www.raspberrypi.com/software/