We have a requirement to change the MTU of the loopback interface for certain database hosts, which you would think could be achieved with the following:
prefix '/system/network/interfaces/lo';
'ip' = '127.0.0.1';
'netmask' = '255.0.0.0';
'mtu' = 16384;
However, due to the $DEVICE_REGEXP in network.pm this fails with:
[ERROR] Filename /etc/sysconfig/network-scripts/ifcfg-lo found that doesn't match the device regexp. Must be an error in ncm-network.
Experimentally adding lo to the $DEVICE_REGEXP allows the configuration to be applied however.