The file '/etc/network/interfaces' will be (re-)generated by OMV on demand. Thus custom changes that are done by the user will get lost. To prevent this, the config generation now supports custom scripts to add additional configuration to the '/etc/network/interfaces' file when OMV is generating it. Using this new feature it is no problem to add bridge or VLAN configurations.
To do that a script must be located at /usr/share/openmediavault/mkconf/interfaces.d/. The script should look like the following:
The feature will be available with openmediavault 1.11 (see http://sourceforge.net/p/openmediavault/code/1661).
This is obsolete starting with openmediavault 4.0.18 (see https://github.com/openmediava…d3f27749566afe2ae690033a2). Simply put your custom inetrface stanzas in a file below the /etc/network/interfaces.d directory.