Preparation:
Prepare an SD card with Raspberry Pi OS Lite (32-bit)
https://www.raspberrypi.org/downloads/
Add an emtpy file named ssh into the boot partition of the SD card
Install:
curl -sL https://github.com/CodeDistillery/hyperion-device-setup/archive/master.tar.gz | tar xz- Configure hostname
sudo raspi-config- Select Network Options
- Select Hostname
- Do not reboot yet
sudo update-alternatives --set iptables /usr/sbin/iptables-legacysudo rebootcd hyperion-device-setup-master && bash setup.shsudo reboot- Login as new user
sudo deluser -remove-home pi