ifupdown-ng.conf 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #
  2. # /etc/network/ifupdown-ng.conf (Salt managed)
  3. #
  4. # The settings specified here are the defaults of ifupdown-ng.
  5. # allow_addon_scripts:
  6. # Enable support for /etc/if-X.d addon scripts. These are used for
  7. # compatibility with legacy setups, and may be disabled for performance
  8. # improvements in setups where only ifupdown-ng executors are used.
  9. allow_addon_scripts = 0
  10. # allow_any_iface_as_template:
  11. # Enable any interface to act as a template for another interface.
  12. # This is presently the default, but is deprecated. An admin may choose
  13. # to disable this setting in order to require inheritance from specified
  14. # templates.
  15. allow_any_iface_as_template = 0
  16. # compat_create_interfaces:
  17. # Denotes where or not to create interfaces when compat_* settings are
  18. # active and it would be necessary to create an interface to be fully
  19. # compliant. This could happen when inheriting bridge VLAN settings to
  20. # an interface within a bridges bridge-ports setting but no interface
  21. # stanza is found. Valid values are 0 and 1, the default is 1.
  22. compat_create_interfaces = 0
  23. # compat_ifupdown2_bridge_ports_inherit_vlans:
  24. # In ifupdown2 <bridge-vids> as well as the <bridge-pvid> set on a bridge
  25. # interface will be inherited by all member ports if not set explicitly.
  26. # When set to 1 ifupdown-ng behaves the same way and will internally copy
  27. # both options from the bridge member ports if they are not set on the
  28. # member port. Valid values are 0 and 1, the default is 1.
  29. compat_ifupdown2_bridge_ports_inherit_vlans = 0
  30. # implicit_template_conversion:
  31. # In some legacy configs, a template may be declared as an iface, and
  32. # ifupdown-ng automatically converts those declarations to a proper
  33. # template. If this setting is disabled, inheritance will continue to
  34. # work against non-template interfaces without converting them to a
  35. # template.
  36. implicit_template_conversion = 0
  37. # use_hostname_for_dhcp:
  38. # Automatically learn the hostname property, used for DHCP configuration
  39. # by querying the system hostname using uname(2). This is basically
  40. # equivalent to `hostname $(hostname)` without having to specify any
  41. # configuration. Valid values are 0 and 1, the default is 1.
  42. use_hostname_for_dhcp = 0