In order to provision linux on computers in remote locations with high network latency, I’m thinking of using the vpn router present at each site to act as a dhcp and tftp server.
The host would then load pxelinux, a pxelinux configuration and ipxe from the local router. All further communication is then done via HTTP served from the datacenter. Higher latencies and a flaky network should not matter with a HTTP connection in comparison to TFTP.
The smart-proxy TFTP module would need to be made pluggable and a new plugin could support uploading the tftp files to the router (running cisco’s ios).
The smart-proxy would need to connect to the router via ssh. My idea is to look into REX (via SSH or Ansible) to connect to the device and add a new cisco ios provider via a plugin.
One challenge will be the dhcp server, it’s very limited on an ios device and does not support breaking the infinite loop when chainloading iPXE. And I believe it does not support a specific configuration for clients. But it should be possible to just always send the next server and filename options and just initiate a host deployment via a pxelinux configuration.
Any thoughts or comments? Anything is highly appreciated. Do we know similar setups anywhere in the community?