hello
Webmin can't handle the Source directive in /etc/network/interfaces
It is used to load other config files into interfaces.
Failed to save enabled features : Error reading file : unexpected line 'source /etc/network/interfaces-enabled/*.conf '
This error is reported in Virtualmin.
Other modules might also be triggering it.
No, that format isn't supported yet.
Which Linux distribution are you seeing this on?
sorry, forgot to mention
Debian 7.0
I'm unsure if Debian 6.0 supports it too, but probably does.
In CentOS, i'm not aware if the directive is supported, but there is a config file for each interface.
i've supplied sample configuration files with ommited IPs
Thanks. Were these config files from a stock install of Debian 7?
Webmin does support this format on CentOS (because it has always and only ever used a separate file for each interface), but on Debian up till now only a single file has been used.
not from stock, i customized them.
i was faced a situation where there could be a need to activate/deactivate a particular NIC, or switch from static to DHCP, without rewriting the file, so i searched for a directive.
so i implemented a debian apache2 alike solution (with interfaces-enabled) and symlinks pointing to interfaces-available, resorting to the source directive