2 # ifupdown2 configuration file
4 # This file contains default settings for ifupdown
10 # default template engine (only mako is currently supported)
13 # default template lookup path during template rendering
14 template_lookuppath=/etc/network/ifupdown2/templates
16 # default network configuration filepath
17 default_interfaces_configfile=/etc/network/interfaces
19 # The -i interfacefile option is allowed by default but
20 # can be disabled by setting the below option to 1 to
21 # reduce security issues (due to the pre- and post- commands)
22 disable_cli_interfacesfile=0
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
34 # Support executing of ifupdown style scripts.
35 # Note that by default python addon modules override scripts with the same
37 addon_scripts_support=1
39 # enable python addons
40 addon_python_modules_support=1
42 # By default ifupdown2 only supports a single vlan filtering bridge
43 # on the system. Set this flag to 1 to support multiple vlan
45 multiple_vlan_aware_bridge_support=0
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.
52 ifquery_check_success_str=pass
53 ifquery_check_error_str=fail
54 ifquery_check_unknown_str=
57 # This attribute controls iface/vlan range expansions
58 # in ifquery default output.
59 ifquery_ifacename_expand_range=0
61 # Let link master (bridges, bonds) own the link state of slaves
64 # Delay admin state change till the end
65 delay_admin_state_change=0
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'
70 ifreload_down_changed=0
72 # squash all addr config when you process the first interface
75 # squash iface config into one when you have multiple
76 # ifaces stanzas for an interface
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
82 adjust_logical_dev_mtu=1
84 # directory where the state file is stored
85 # if this directory doesn't exists ifupdown2 will create it
86 # if directory creation fails or state_dir variable is empty
87 # state_dir will default to /run/network/
88 state_dir=/run/network/