I created a systemd link file to enforce persistent network interface naming for a stack of network-booted hosts. Because the MAC varies between machines, I have to use the PCI path for matching the interface:
[Match] Path=pci-0000:02:00.0-0 [Link] Name=eth0
This works in a VM or on a physical box. However, in a netboot host it fails with message:
Failed at step NAMESPACE spawning /usr/lib/systemd/system/systemd-networkd: Invalid Argument
I tried removing the link file and rebooting, but with the same result. So it has nothing to do with my link file.
The netboot host is made from Centos 7.2.
Previously, with CentOS 6, we used a persistent net rule in
/etc/udev.rules, but that fails under CentOS 7.