doc: Add ifupdown-ng.conf(5) man page on global options.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
This commit is contained in:
parent
e5d9ee25fc
commit
c810cd5817
5 changed files with 78 additions and 4 deletions
1
Makefile
1
Makefile
|
@ -138,6 +138,7 @@ install: all
|
||||||
${SCDOC} < $< > $@
|
${SCDOC} < $< > $@
|
||||||
|
|
||||||
MANPAGES_5 = \
|
MANPAGES_5 = \
|
||||||
|
doc/ifupdown-ng.conf.5 \
|
||||||
doc/interfaces.5 \
|
doc/interfaces.5 \
|
||||||
doc/interfaces-bond.5 \
|
doc/interfaces-bond.5 \
|
||||||
doc/interfaces-batman.5 \
|
doc/interfaces-batman.5 \
|
||||||
|
|
|
@ -54,8 +54,9 @@ configured in the configuration database.
|
||||||
|
|
||||||
# SEE ALSO
|
# SEE ALSO
|
||||||
|
|
||||||
*ifup*(8)++
|
*ifupdown-ng.conf*(5)
|
||||||
*ifquery*(8)++
|
*ifup*(8)
|
||||||
|
*ifquery*(8)
|
||||||
*interfaces*(5)
|
*interfaces*(5)
|
||||||
|
|
||||||
# AUTHORS
|
# AUTHORS
|
||||||
|
|
|
@ -57,8 +57,9 @@ configured in the configuration database.
|
||||||
|
|
||||||
# SEE ALSO
|
# SEE ALSO
|
||||||
|
|
||||||
*ifdown*(8)++
|
*ifupdown-ng.conf*(5)
|
||||||
*ifquery*(8)++
|
*ifdown*(8)
|
||||||
|
*ifquery*(8)
|
||||||
*interfaces*(5)
|
*interfaces*(5)
|
||||||
|
|
||||||
# AUTHORS
|
# AUTHORS
|
||||||
|
|
70
doc/ifupdown-ng.conf.scd
Normal file
70
doc/ifupdown-ng.conf.scd
Normal file
|
@ -0,0 +1,70 @@
|
||||||
|
ifupdown-ng.conf(5)
|
||||||
|
|
||||||
|
# NAME
|
||||||
|
|
||||||
|
*ifupdown-ng.conf* - Global configuration file for ifupdown-ng
|
||||||
|
|
||||||
|
# DESCRIPTION
|
||||||
|
|
||||||
|
ifupdown-ng allows to configure some parts of it's behaviour via global
|
||||||
|
configuration options.
|
||||||
|
|
||||||
|
# GENERAL CONFIGURATION OPTIONS
|
||||||
|
|
||||||
|
*allow_addon_scripts* _bool_
|
||||||
|
Enable support for /etc/if-X.d addon scripts. These are used for
|
||||||
|
compatibility with legacy setups, and may be disabled for
|
||||||
|
performance improvements in setups where only ifupdown-ng executors
|
||||||
|
are used. Valid values are _0_ and _1_, the default is _1_.
|
||||||
|
|
||||||
|
*use_hostname_for_dhcp* _bool_
|
||||||
|
Automatically learn the hostname property, used for DHCP
|
||||||
|
configuration by querying the system hostname using uname(2).
|
||||||
|
This is basically equivalent to `hostname $(hostname)` without
|
||||||
|
having to specify any configuration. Valid values are _0_ and
|
||||||
|
_1_, the default is _1_.
|
||||||
|
|
||||||
|
# TEMPLATE RELATED OPTIONS
|
||||||
|
|
||||||
|
*allow_any_iface_as_template* _bool_
|
||||||
|
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. Valid values are _0_ and _1_, the
|
||||||
|
default is _1_.
|
||||||
|
|
||||||
|
*implicit_template_conversion* _bool_
|
||||||
|
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. Valid values are _0_ and _1_, the default is _1_.
|
||||||
|
|
||||||
|
# COMPATIBILITY RELATED OPTIONS
|
||||||
|
|
||||||
|
*compat_create_interfaces* _bool_
|
||||||
|
Denotes where or not to create interfaces when compat_* settings are
|
||||||
|
active and it would be necessary to create an interface to be fully
|
||||||
|
compliant. This could happen when inheriting bridge VLAN settings to
|
||||||
|
an interface within a bridges bridge-ports setting but no interface
|
||||||
|
stanza is found. Valid values are _0_ and _1_, the default is _1_.
|
||||||
|
|
||||||
|
compat_ifupdown2_bridge_ports_inherit_vlans _bool_
|
||||||
|
In ifupdown2 <bridge-vids> as well as the <bridge-pvid> set on a
|
||||||
|
bridge interface will be inherited by all member ports if not set
|
||||||
|
explicitly. When set to 1 ifupdown-ng behaves the same way and will
|
||||||
|
internally copy both options from the bridge member ports if they
|
||||||
|
are not set on the member port. Valid values are _0_ and _1_, the
|
||||||
|
default is _1_.
|
||||||
|
|
||||||
|
# FILES
|
||||||
|
|
||||||
|
/etc/network/ifupdown-ng.conf
|
||||||
|
|
||||||
|
# SEE ALSO
|
||||||
|
|
||||||
|
*interfaces*(5)
|
||||||
|
|
||||||
|
# AUTHORS
|
||||||
|
|
||||||
|
Maximilian Wilhelm <max@sdn.clinic>
|
|
@ -216,6 +216,7 @@ iface eth0
|
||||||
|
|
||||||
# SEE ALSO
|
# SEE ALSO
|
||||||
|
|
||||||
|
*ifupdown-ng.conf*(5)
|
||||||
*ifup*(8)
|
*ifup*(8)
|
||||||
*ifdown*(8)
|
*ifdown*(8)
|
||||||
*ifquery*(8)
|
*ifquery*(8)
|
||||||
|
|
Loading…
Reference in a new issue