Download Hypriot tool "flash", available here : https://github.com/hypriot/flash
Cloud init Eallow us to prepare RPI automatically, with pre-installed software and config specified in a config file. Check "rpi-config.yml" for more details.
Two additional softwares are added :
- ntp
- python3-blinkt (allow us to manage Pimoroni LED pinned on each RPI)
Default Hypriot credentials used :
- Login : pirate
- Password : hypriot
Here's the command :
flash \
--hostname node-1 \
--bootconf config.txt \
--userdata ./rpi-config.yml \
https://github.com/hypriot/image-builder-rpi/releases/download/v1.5.1/hypriotos-rpi-v1.5.1.img.zip
Don't forget to change the hostname. The full list is available here : https://blog.hypriot.com/downloads/
You can also use local img with the script :
flash \
--hostname node-1 \
--bootconf config.txt \
--userdata ./node1-user-data.yml \
hypriotos-rpi-v1.5.1.img.zip