Bash script to netboot "n" number of Pi4s #5093
BryceAshey
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I thought I would share this here (and am happy to write it up somewhere if so desired)...
Here's a script that will setup dnsmasq on a single Raspberry Pi and then netboot however many other raspberry pis with Talos. It still requires a blank SD card in each PI. Hopefully we can go diskless with a later release. If the number of nodes is 3 or less then it will only setup a single controlplane otherwise it defaults to 3. The PIs need to be setup to netboot first and SD (or USB if drive attached that way) second.
Change the variables at the top and rerun as many times as needed - it cleans up at the start of each run.
Feel free to flame it or add to it - it's definitely a first pass. :)
https://github.com/geekdojo-ofc/rpi-talos-netboot/blob/main/netboot-node.sh
Beta Was this translation helpful? Give feedback.
All reactions