]>
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 | |
29ed5855 JF |
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 | |
14 | ||
223ba5af JF |
15 | # use ifupdown2d |
16 | use_daemon=no | |
17 | ||
a4ae14bb | 18 | # enable templates |
d2e93ca2 | 19 | template_enable=1 |
a4ae14bb | 20 | |
86fc62e2 | 21 | # default template engine (only mako is currently supported) |
22 | template_engine=mako | |
14dc390d | 23 | |
86fc62e2 | 24 | # default template lookup path during template rendering |
25 | template_lookuppath=/etc/network/ifupdown2/templates | |
0fb49cf5 | 26 | |
1e6d7bd7 ST |
27 | # default network configuration filepath |
28 | default_interfaces_configfile=/etc/network/interfaces | |
4b5208d8 RP |
29 | |
30 | # The -i interfacefile option is allowed by default but | |
31 | # can be disabled by setting the below option to 1 to | |
1e6d7bd7 | 32 | # reduce security issues (due to the pre- and post- commands) |
4b5208d8 | 33 | disable_cli_interfacesfile=0 |
1e6d7bd7 | 34 | |
d2790be0 RP |
35 | |
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 | |
42 | # by scripts | |
84ae1936 | 43 | addon_syntax_check=0 |
d2790be0 RP |
44 | |
45 | # Support executing of ifupdown style scripts. | |
46 | # Note that by default python addon modules override scripts with the same | |
47 | # name | |
84ae1936 | 48 | addon_scripts_support=1 |
8e113d63 | 49 | |
d2790be0 RP |
50 | # enable python addons |
51 | addon_python_modules_support=1 | |
52 | ||
a53e80bc | 53 | # By default ifupdown2 only supports a single vlan filtering bridge |
2da58137 RP |
54 | # on the system. Set this flag to 1 to support multiple vlan |
55 | # filtering bridges | |
56 | multiple_vlan_aware_bridge_support=0 | |
57 | ||
8e113d63 RP |
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. | |
2da58137 | 62 | # |
fb10449e RP |
63 | ifquery_check_success_str=pass |
64 | ifquery_check_error_str=fail | |
fac4138b | 65 | ifquery_check_unknown_str= |
2da58137 | 66 | # |
8e113d63 | 67 | |
2da58137 RP |
68 | # This attribute controls iface/vlan range expansions |
69 | # in ifquery default output. | |
70 | ifquery_ifacename_expand_range=0 | |
8e113d63 | 71 | |
a070c90e RP |
72 | # Let link master (bridges, bonds) own the link state of slaves |
73 | link_master_slave=1 | |
74 | ||
75 | # Delay admin state change till the end | |
76 | delay_admin_state_change=0 | |
77 | ||
e308cb82 RP |
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 | |
0582f185 RP |
82 | |
83 | # squash all addr config when you process the first interface | |
3fe9e364 | 84 | addr_config_squash=0 |
99ce6894 RP |
85 | |
86 | # squash iface config into one when you have multiple | |
87 | # ifaces stanzas for an interface | |
88 | ifaceobj_squash=0 | |
89 | ||
9e0be374 JF |
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 | |
9f98f360 JF |
94 | |
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 | |
223ba5af JF |
98 | # state_dir will default to /var/tmp/network/ |
99 | state_dir=/var/tmp/network/ |