]> git.proxmox.com Git - mirror_ifupdown2.git/blob - etc/network/ifupdown2/ifupdown2.conf
ifupdown2.conf: add persistent debug logging feature
[mirror_ifupdown2.git] / etc / network / ifupdown2 / ifupdown2.conf
1 #
2 # ifupdown2 configuration file
3 #
4 # This file contains default settings for ifupdown
5 #
6
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
15 # use ifupdown2d
16 use_daemon=no
17
18 # enable templates
19 template_enable=1
20
21 # default template engine (only mako is currently supported)
22 template_engine=mako
23
24 # default template lookup path during template rendering
25 template_lookuppath=/etc/network/ifupdown2/templates
26
27 # default network configuration filepath
28 default_interfaces_configfile=/etc/network/interfaces
29
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
34
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
43 addon_syntax_check=0
44
45 # Support executing of ifupdown style scripts.
46 # Note that by default python addon modules override scripts with the same
47 # name
48 addon_scripts_support=1
49
50 # enable python addons
51 addon_python_modules_support=1
52
53 # By default ifupdown2 only supports a single vlan filtering bridge
54 # on the system. Set this flag to 1 to support multiple vlan
55 # filtering bridges
56 multiple_vlan_aware_bridge_support=0
57
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.
62 #
63 ifquery_check_success_str=pass
64 ifquery_check_error_str=fail
65 ifquery_check_unknown_str=
66 #
67
68 # This attribute controls iface/vlan range expansions
69 # in ifquery default output.
70 ifquery_ifacename_expand_range=0
71
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
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
82
83 # squash all addr config when you process the first interface
84 addr_config_squash=0
85
86 # squash iface config into one when you have multiple
87 # ifaces stanzas for an interface
88 ifaceobj_squash=0
89
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
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
98 # state_dir will default to /var/tmp/network/
99 state_dir=/var/tmp/network/