I have a domestic headless server that boots from (and has the root filesystem in) a removable USB stick. I install it from my laptop (following this nice checklist) and edit the configuration files as required. Ideally I'd like to be able to fully configure the system while the USB stick is plugged into my laptop, so that once I plug it into the server, it'll boot straight to multi-user level with network up and SSH daemon running. My desired network configuration is very simple: it has a single integrated MOBO NIC which I want to configure statically.
The main problem I've found is that I don't (reliably) know what interface name my NIC will get assigned. Up 'till now blindly using
/etc/network/interfaces has done the job, however last time I re-installed it switched to the Predictable Network Interface Names scheme, and I had to lug over the monitor & keyboard to log-in locally and troubleshoot the system.
So how can I avoid myself such pain in the future?