Files
reterminal-dm4/emmc-provisioning/lxc
nearxos ff6258c2af Add status tracking for network boot actions in dashboard
Implement a new function to write status updates during device deployment and backup actions, enhancing user feedback. Update the API to call this function with appropriate messages based on the action taken. Modify the network boot toggle script to improve clarity and functionality, ensuring proper management of DHCP options. Update permissions for the toggle script to ensure it is executable. Additionally, update the initrd.img to reflect recent changes in the network boot process.
2026-02-21 13:05:52 +02:00
..

LXC config (network boot: eth1 = LAN, eth0 = WAN)

Config files for the provisioning LXC when using eth1 as a provisioning LAN (DHCP + TFTP for network boot, NAT for internet).

File Purpose
dnsmasq-network-boot.conf dnsmasq: DHCP + TFTP on eth1 only. Copied to /etc/dnsmasq.d/ by scripts/setup-network-boot-on-lxc.sh.
nft-nat-lan.conf nftables NAT so 10.20.50.0/24 uses eth0 for internet. Applied by the setup script to /etc/nftables.d/nat-lan.conf.

Setup is done by running (from your machine):

./emmc-provisioning/scripts/setup-network-boot-on-lxc.sh root@<LXC-IP>

See ../docs/NETWORK-BOOT-LXC.md for full documentation.