]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # ifupdown2 configuration file | |
3 | # | |
4 | # This file contains default settings for ifupdown | |
5 | # | |
6 | ||
7 | # enable templates | |
8 | template_enable=1 | |
9 | ||
10 | # default template engine (only mako is currently supported) | |
11 | template_engine=mako | |
12 | ||
13 | # default template lookup path during template rendering | |
14 | template_lookuppath=/etc/network/ifupdown2/templates | |
15 | ||
16 | # default network configuration filepath | |
17 | default_interfaces_configfile=/etc/network/interfaces | |
18 | ||
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 | |
23 | ||
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 | |
32 | addon_syntax_check=0 | |
33 | ||
34 | # Support executing of ifupdown style scripts. | |
35 | # Note that by default python addon modules override scripts with the same | |
36 | # name | |
37 | addon_scripts_support=1 | |
38 | ||
39 | # enable python addons | |
40 | addon_python_modules_support=1 | |
41 | ||
42 | # By default ifupdown2 only supports a single vlan filtering bridge | |
43 | # on the system. Set this flag to 1 to support multiple vlan | |
44 | # filtering bridges | |
45 | multiple_vlan_aware_bridge_support=0 | |
46 | ||
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. | |
51 | # | |
52 | ifquery_check_success_str=pass | |
53 | ifquery_check_error_str=fail | |
54 | ifquery_check_unknown_str= | |
55 | # | |
56 | ||
57 | # This attribute controls iface/vlan range expansions | |
58 | # in ifquery default output. | |
59 | ifquery_ifacename_expand_range=0 | |
60 | ||
61 | # Let link master (bridges, bonds) own the link state of slaves | |
62 | link_master_slave=1 | |
63 | ||
64 | # Delay admin state change till the end | |
65 | delay_admin_state_change=0 | |
66 | ||
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 | |
71 | ||
72 | # squash all addr config when you process the first interface | |
73 | addr_config_squash=0 | |
74 | ||
75 | # squash iface config into one when you have multiple | |
76 | # ifaces stanzas for an interface | |
77 | ifaceobj_squash=0 | |
78 | ||
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 |