We use udhcpc for getting IP information. We can place scripts in /usr/share/udhcpc/default.script.d to configure things after we get an IP address, but before services are started.
This project should implement some way of using UDHCPC variables and downloading the configs and applying those configs.
Note the following ENV variables that will help:
tftp - The TFTP server name
We can probably pull via HTTP against the TFTP IP, (or even TFTP?) and apply the configs over top of /etc?
We use udhcpc for getting IP information. We can place scripts in /usr/share/udhcpc/default.script.d to configure things after we get an IP address, but before services are started.
This project should implement some way of using UDHCPC variables and downloading the configs and applying those configs.
Note the following ENV variables that will help:
We can probably pull via HTTP against the TFTP IP, (or even TFTP?) and apply the configs over top of /etc?
https://udhcp.busybox.net/README.udhcpc