ifupdown2.conf.stretch 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. # default network configuration filepath
  13. default_interfaces_configfile=/etc/network/interfaces
  14. # The -i interfacefile option is allowed by default but
  15. # can be disabled by setting the below option to 1 to
  16. # reduce security issues (due to the pre- and post- commands)
  17. disable_cli_interfacesfile=1
  18. # enable addon module syntax check:
  19. # Python addon modules register dictionary of supported attributes.
  20. # The syntax checker in ifupdown2 uses this dictionary for syntax
  21. # checks in the interfaces file. This works well, when only python modules
  22. # are used. But when a mix of scripts and modules are used (which is the
  23. # default case), you may get false warnings for attributes supported
  24. # by scripts
  25. addon_syntax_check=0
  26. # Support executing of ifupdown style scripts.
  27. # Note that by default python addon modules override scripts with the same
  28. # name
  29. addon_scripts_support=0
  30. # enable python addons
  31. addon_python_modules_support=1
  32. # By default ifupdown2 only supports a single vlan filtering bridge
  33. # on the system. Set this flag to 1 to support multiple vlan
  34. # filtering bridges
  35. multiple_vlan_aware_bridge_support=0
  36. # ifquery check status strings.
  37. # By default `ifquery --check` prints the check and
  38. # cross marks against interface attributes.
  39. # Use the below strings to modify the default behaviour.
  40. #
  41. ifquery_check_success_str=[ OK ]
  42. ifquery_check_error_str=[FAIL]
  43. ifquery_check_unknown_str=
  44. #
  45. # This attribute controls iface/vlan range expansions
  46. # in ifquery default output.
  47. ifquery_ifacename_expand_range=0
  48. # Let link master (bridges, bonds) own the link state of slaves
  49. link_master_slave=1
  50. # Delay admin state change till the end
  51. delay_admin_state_change=0
  52. # ifreload by default downs: 'all interfaces for which config changed' +
  53. # 'interfaces that were deleted'. With the below variable set to '0'
  54. # ifreload will only down 'interfaces that were deleted'
  55. ifreload_down_changed=0
  56. # squash all addr config when you process the first interface
  57. addr_config_squash=0
  58. # squash iface config into one when you have multiple
  59. # ifaces stanzas for an interface
  60. ifaceobj_squash=0
  61. # By default ifupdown2 will adjust logical devices MTU
  62. # based on the physical interface they are running on top of.
  63. # set this flag to 0 to disable this behaviour
  64. adjust_logical_dev_mtu=0