ifupdown2.conf 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. # Support /etc/network/if-*/ scripts
  13. addon_scripts_support=0
  14. # By default ifupdown2 only supports a single vlan filtering bridge
  15. # on the system. Set this flag to 1 to support multiple vlan
  16. # filtering bridges
  17. multiple_vlan_aware_bridge_support=0
  18. # ifquery check status strings.
  19. # By default `ifquery --check` prints the check and
  20. # cross marks against interface attributes.
  21. # Use the below strings to modify the default behaviour.
  22. #
  23. ifquery_check_success_str=[ OK ]
  24. ifquery_check_error_str=[FAIL]
  25. ifquery_check_unknown_str=
  26. #
  27. # This attribute controls iface/vlan range expansions
  28. # in ifquery default output.
  29. ifquery_ifacename_expand_range=0
  30. # Let link master (bridges, bonds) own the link state of slaves
  31. link_master_slave=1
  32. # Delay admin state change till the end
  33. delay_admin_state_change=0
  34. # ifreload by default downs: 'all interfaces for which config changed' +
  35. # 'interfaces that were deleted'. With the below variable set to '0'
  36. # ifreload will only down 'interfaces that were deleted'
  37. ifreload_down_changed=0
  38. # enable addon module syntax check:
  39. # Python addon modules register dictionary of supported attributes.
  40. # The syntax checker in ifupdown2 uses this dictionary for syntax
  41. # checks in the interfaces file. This works well, when only python modules
  42. # are used. But when a mix of scripts and modules are used (which is the
  43. # default case), you may get false warnings for attributes supported
  44. # by scripts
  45. addon_syntax_check=0
  46. # Support executing of ifupdown style scripts.
  47. # Note that by default python addon modules override scripts with the same
  48. # name
  49. addon_scripts_support=1
  50. # enable python addons
  51. addon_python_modules_support=1