From cb7a84e8106398cd021237f41e7dd1e1e503c286 Mon Sep 17 00:00:00 2001 From: "David Kaspar [Dee'Kej]" Date: Tue, 2 May 2017 23:17:19 +0200 Subject: DHCP_FQDN and DHCP_SEND_HOSTNAME introduced The way DHCP_HOSTNAME is being sent to DHCP server has been completely reworked... DHCP_FQDN now allows user to specify fully qualified domain name to be sent to DHCP server instead of just using simple hostname. This option takes precedence before DHCP_HOSTNAME variable. DHCP_SEND_HOSTNAME can be used to tell initscripts to not send either DHCP_HOSTNAME or DHCP_FQDN to DHCP server. Both of these options should behave same as they do in NetworkManager. --- sysconfig.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'sysconfig.txt') diff --git a/sysconfig.txt b/sysconfig.txt index 08243f11..f09c6d8b 100644 --- a/sysconfig.txt +++ b/sysconfig.txt @@ -550,8 +550,18 @@ Files in /etc/sysconfig/network-scripts/ With this option set to 'yes' (1), when a dhcp configured interface is brought down with 'ifdown', the lease will be released. Otherwise, leases are not released. - DHCP_HOSTNAME= + + DHCP_SEND_HOSTNAME=yes|no|1|0 + Tells initscripts whether the DHCP_HOSTNAME or DHCP_FQDN options (below) + should be sent to DHCP server. + DHCP_HOSTNAME= Sends the specified hostname to the DHCP server. + DHCP_FQDN= + Sends the specified FQDN to the DHCP server. + + Please note when both DHCP_HOSTNAME and DHCP_FQDN are specified, + only DHCP_FQDN will be used. (Same behaviour as with NetworkManager.) + DHCLIENT_IGNORE_GATEWAY=yes|no|1|0 If set to 'yes', it will cause dhclient-script to ignore any $GATEWAY setting that may be in the ifcfg file for this interface. -- cgit v1.2.1