I've built a custom Debian Live CD (using live-boot and containing a kernel, initrd and a filesystem.squashfs) which includes specific tools we regularly use. The Live CD works flawlessly if booted directly from USB pen drive, from the ISO file (in VMs) or burned to CD and NetworkManager, which is installed, correctly updates resolv.conf. Booting the system via PXE/TFTP is again no problem, but unfortunately NetworkManager detects the network device used for PXE booting as "connected (externally)", and thus does not update the DNS settings. As soon as I set the NIC "down" via nmcli, NetworkManager reactivates the interface and then correctly updates resolv.conf to contain the values received via DHCP.
Is there any option/setting to tell NetworkManager to also manage previously activated NICs? Of course I could add a custom step deactivating the PXE NIC before NetworkManager gets started, but I'd very much like to not use such rather ugly workarounds.
Thanks in advance.