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):
./chromium-setup/emmc-provisioning/scripts/setup-network-boot-on-lxc.sh root@<LXC-IP>
See ../docs/NETWORK-BOOT-LXC.md for full documentation.