add a config option to disable automatically setting the dhcp hostname
This commit is contained in:
parent
a210cf6a66
commit
4aa2749737
4 changed files with 13 additions and 0 deletions
7
dist/ifupdown-ng.conf.example
vendored
7
dist/ifupdown-ng.conf.example
vendored
|
@ -24,3 +24,10 @@ allow_any_iface_as_template = 1
|
|||
# work against non-template interfaces without converting them to a
|
||||
# template. Valid values are 0 and 1, the default is 1.
|
||||
implicit_template_conversion = 1
|
||||
|
||||
# use_hostname_for_dhcp:
|
||||
# Automatically learn the hostname property, used for DHCP configuration
|
||||
# by querying the system hostname using uname(2). This is basically
|
||||
# equivalent to `hostname $(hostname)` without having to specify any
|
||||
# configuration. Valid values are 0 and 1, the default is 1.
|
||||
use_hostname_for_dhcp = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue