Two quick questions:
- What would I have to to NOOBS to make it install a local copy of a Jessie-Lite image, rather than the full Jessie image?
- Is there a "hook" in stock Raspbian/Raspbian-Lite which calls/executes a script that exists in "/boot"?
Well, I am building a 6-node RPi3b cluster. I will have 6+ SD cards to install, one per node + any future systems.
These are running headless (therefore Lite is appropriate) and I would like to not have to pull "Lite" over the network 6+ times when I could instead just copy it to the SD cards along with NOOBS.
I could build a "gold" image of a fully-configured machine, and then burn that image to the other SD cards, but in that circumstance I would be copying 16Gb not 350Mb to the blank SD cards, which is wasteful.
Also: I would like - during initial boot - to run a script that remounts /tmp, /var/tmp and /var/log as "tmpfs" after moving-aside any pre-existing rubbish in those directories, and maybe it could do other housekeeping like set hostnames, etc, without having to mess with DHCP and network servers.
Doable?