ifupdown2.conf 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #
  2. # ifupdown2 configuration file
  3. #
  4. # This file contains default settings for ifupdown
  5. #
  6. # enable templates
  7. template_enable=0
  8. # default template engine (only mako is currently supported)
  9. template_engine=mako
  10. # default template lookup path during template rendering
  11. template_lookuppath=/etc/network/ifupdown2/templates
  12. # By default ifupdown2 only supports a single vlan filtering bridge
  13. # on the system. Set this flag to 1 to support multiple vlan
  14. # filtering bridges
  15. multiple_vlan_aware_bridge_support=0
  16. # ifquery check status strings.
  17. # By default `ifquery --check` prints the check and
  18. # cross marks against interface attributes.
  19. # Use the below strings to modify the default behaviour.
  20. #
  21. ifquery_check_success_str=[ OK ]
  22. ifquery_check_error_str=[FAIL]
  23. ifquery_check_unknown_str=
  24. #
  25. # This attribute controls iface/vlan range expansions
  26. # in ifquery default output.
  27. ifquery_ifacename_expand_range=0
  28. # Let link master (bridges, bonds) own the link state of slaves
  29. link_master_slave=1
  30. # Delay admin state change till the end
  31. delay_admin_state_change=0
  32. # ifreload by default downs: 'all interfaces for which config changed' +
  33. # 'interfaces that were deleted'. With the below variable set to '0'
  34. # ifreload will only down 'interfaces that were deleted'
  35. ifreload_down_changed=0
  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. # Support executing of ifupdown style scripts.
  45. # Note that by default python addon modules override scripts with the same
  46. # name
  47. addon_scripts_support=1
  48. # enable python addons
  49. addon_python_modules_support=1