interface: add config setting to restrict inheritance to template interfaces

This commit is contained in:
Ariadne Conill 2020-09-23 11:34:35 -06:00
parent a3987b46c8
commit 5c5c316ebf
4 changed files with 14 additions and 0 deletions

View file

@ -8,3 +8,10 @@
# compatibility with legacy setups, and may be disabled for performance
# improvements in setups where only ifupdown-ng executors are used.
allow_addon_scripts = 1
# allow_any_iface_as_template:
# Enable any interface to act as a template for another interface.
# This is presently the default, but is deprecated. An admin may choose
# to disable this setting in order to require inheritance from specified
# templates.
allow_any_iface_as_template = 1