2 # ifupdown2 configuration file
4 # This file contains default settings for ifupdown
7 # enable persistent ifupdown2 debug logs
8 # ifupdown2 will keep debug logs in /etc/network/ifupdown2/logs
9 # by default the last 42 configurations logs will be kept.
10 # yes - (default) enable persistent logging (42 configs)
11 # no - disable persistent logging
12 # [2-9]+ - specify how many configuration logs should be stored
13 enable_persistent_debug_logging=yes
21 # default template engine (only mako is currently supported)
24 # default template lookup path during template rendering
25 template_lookuppath=/etc/network/ifupdown2/templates
27 # default network configuration filepath
28 default_interfaces_configfile=/etc/network/interfaces
30 # The -i interfacefile option is allowed by default but
31 # can be disabled by setting the below option to 1 to
32 # reduce security issues (due to the pre- and post- commands)
33 disable_cli_interfacesfile=0
36 # enable addon module syntax check:
37 # Python addon modules register dictionary of supported attributes.
38 # The syntax checker in ifupdown2 uses this dictionary for syntax
39 # checks in the interfaces file. This works well, when only python modules
40 # are used. But when a mix of scripts and modules are used (which is the
41 # default case), you may get false warnings for attributes supported
45 # Support executing of ifupdown style scripts.
46 # Note that by default python addon modules override scripts with the same
48 addon_scripts_support=1
50 # enable python addons
51 addon_python_modules_support=1
53 # By default ifupdown2 only supports a single vlan filtering bridge
54 # on the system. Set this flag to 1 to support multiple vlan
56 multiple_vlan_aware_bridge_support=0
58 # ifquery check status strings.
59 # By default `ifquery --check` prints the check and
60 # cross marks against interface attributes.
61 # Use the below strings to modify the default behaviour.
63 ifquery_check_success_str=pass
64 ifquery_check_error_str=fail
65 ifquery_check_unknown_str=
68 # This attribute controls iface/vlan range expansions
69 # in ifquery default output.
70 ifquery_ifacename_expand_range=0
72 # Let link master (bridges, bonds) own the link state of slaves
75 # Delay admin state change till the end
76 delay_admin_state_change=0
78 # ifreload by default downs: 'all interfaces for which config changed' +
79 # 'interfaces that were deleted'. With the below variable set to '0'
80 # ifreload will only down 'interfaces that were deleted'
81 ifreload_down_changed=0
83 # squash all addr config when you process the first interface
86 # squash iface config into one when you have multiple
87 # ifaces stanzas for an interface
90 # By default ifupdown2 will adjust logical devices MTU
91 # based on the physical interface they are running on top of.
92 # set this flag to 0 to disable this behaviour
93 adjust_logical_dev_mtu=1
95 # directory where the state file is stored
96 # if this directory doesn't exists ifupdown2 will create it
97 # if directory creation fails or state_dir variable is empty
98 # state_dir will default to /var/tmp/network/
99 state_dir=/var/tmp/network/