Quote from: axsdenied on June 01, 2023, 05:57:25 PM
I'm not sure I understand the use case. i.e. Why are we storing the config on a usb stick? It can't be for backup as that can still get corrupted?
I spin up virtual appliances built from a master image that needs a simple config update for networking config before ansible et al. takes over. This is mainly a relic from pfSense ("upgrading" to OPNsense bc it has the features I need :) ) which would auto load from a USB stick if it found one plugged in (I simulate this w/Libvirt commands).
I did get it working by placing the script in /usr/local/etc/rc.syshook.d/start/ (instead of 'early') amongst changes I made to my rc script. 8)