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