]> git.proxmox.com Git - mirror_ifupdown2.git/blame - etc/network/ifupdown2/ifupdown2.conf
ifupdown2.conf: enable addon_scripts_support and disable addon_syntax_check
[mirror_ifupdown2.git] / etc / network / ifupdown2 / ifupdown2.conf
CommitLineData
14dc390d 1#
86fc62e2 2# ifupdown2 configuration file
14dc390d 3#
86fc62e2 4# This file contains default settings for ifupdown
14dc390d 5#
14dc390d 6
a4ae14bb 7# enable templates
d2e93ca2 8template_enable=1
a4ae14bb 9
86fc62e2 10# default template engine (only mako is currently supported)
11template_engine=mako
14dc390d 12
86fc62e2 13# default template lookup path during template rendering
14template_lookuppath=/etc/network/ifupdown2/templates
0fb49cf5 15
1e6d7bd7
ST
16# default network configuration filepath
17default_interfaces_configfile=/etc/network/interfaces
4b5208d8
RP
18
19# The -i interfacefile option is allowed by default but
20# can be disabled by setting the below option to 1 to
1e6d7bd7 21# reduce security issues (due to the pre- and post- commands)
4b5208d8 22disable_cli_interfacesfile=0
1e6d7bd7 23
d2790be0
RP
24
25# enable addon module syntax check:
26# Python addon modules register dictionary of supported attributes.
27# The syntax checker in ifupdown2 uses this dictionary for syntax
28# checks in the interfaces file. This works well, when only python modules
29# are used. But when a mix of scripts and modules are used (which is the
30# default case), you may get false warnings for attributes supported
31# by scripts
84ae1936 32addon_syntax_check=0
d2790be0
RP
33
34# Support executing of ifupdown style scripts.
35# Note that by default python addon modules override scripts with the same
36# name
84ae1936 37addon_scripts_support=1
8e113d63 38
d2790be0
RP
39# enable python addons
40addon_python_modules_support=1
41
a53e80bc 42# By default ifupdown2 only supports a single vlan filtering bridge
2da58137
RP
43# on the system. Set this flag to 1 to support multiple vlan
44# filtering bridges
45multiple_vlan_aware_bridge_support=0
46
8e113d63
RP
47# ifquery check status strings.
48# By default `ifquery --check` prints the check and
49# cross marks against interface attributes.
50# Use the below strings to modify the default behaviour.
2da58137 51#
fb10449e
RP
52ifquery_check_success_str=pass
53ifquery_check_error_str=fail
fac4138b 54ifquery_check_unknown_str=
2da58137 55#
8e113d63 56
2da58137
RP
57# This attribute controls iface/vlan range expansions
58# in ifquery default output.
59ifquery_ifacename_expand_range=0
8e113d63 60
a070c90e
RP
61# Let link master (bridges, bonds) own the link state of slaves
62link_master_slave=1
63
64# Delay admin state change till the end
65delay_admin_state_change=0
66
e308cb82
RP
67# ifreload by default downs: 'all interfaces for which config changed' +
68# 'interfaces that were deleted'. With the below variable set to '0'
69# ifreload will only down 'interfaces that were deleted'
70ifreload_down_changed=0
0582f185
RP
71
72# squash all addr config when you process the first interface
3fe9e364 73addr_config_squash=0
99ce6894
RP
74
75# squash iface config into one when you have multiple
76# ifaces stanzas for an interface
77ifaceobj_squash=0
78
9e0be374
JF
79# By default ifupdown2 will adjust logical devices MTU
80# based on the physical interface they are running on top of.
81# set this flag to 0 to disable this behaviour
82adjust_logical_dev_mtu=1