interface: make interface-to-template conversion a config option (defaulting to enabled)
This commit is contained in:
parent
243a9b92ce
commit
60d0ed34b8
4 changed files with 13 additions and 2 deletions
8
dist/ifupdown-ng.conf.example
vendored
8
dist/ifupdown-ng.conf.example
vendored
|
@ -15,3 +15,11 @@ allow_addon_scripts = 1
|
|||
# to disable this setting in order to require inheritance from specified
|
||||
# templates.
|
||||
allow_any_iface_as_template = 1
|
||||
|
||||
# implicit_template_conversion:
|
||||
# In some legacy configs, a template may be declared as an iface, and
|
||||
# ifupdown-ng automatically converts those declarations to a proper
|
||||
# template. If this setting is disabled, inheritance will continue to
|
||||
# work against non-template interfaces without converting them to a
|
||||
# template.
|
||||
implicit_template_conversion = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue