diff options
author | David Kaspar [Dee'Kej] <dkaspar@redhat.com> | 2017-05-02 23:17:19 +0200 |
---|---|---|
committer | Dee'Kej <deekej@linuxmail.org> | 2017-05-03 10:59:51 +0200 |
commit | cb7a84e8106398cd021237f41e7dd1e1e503c286 (patch) | |
tree | ee2407b7b0253f4e8c2807848244693b568a0125 /examples | |
parent | 4f8720706228d316e57ed95c3676e3478eb380fc (diff) | |
download | initscripts-cb7a84e8106398cd021237f41e7dd1e1e503c286.tar initscripts-cb7a84e8106398cd021237f41e7dd1e1e503c286.tar.gz initscripts-cb7a84e8106398cd021237f41e7dd1e1e503c286.tar.bz2 initscripts-cb7a84e8106398cd021237f41e7dd1e1e503c286.tar.xz initscripts-cb7a84e8106398cd021237f41e7dd1e1e503c286.zip |
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.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/networking/ifcfg-eth-dhcp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/networking/ifcfg-eth-dhcp b/examples/networking/ifcfg-eth-dhcp index 2dd687ab..58d46bf8 100644 --- a/examples/networking/ifcfg-eth-dhcp +++ b/examples/networking/ifcfg-eth-dhcp @@ -7,5 +7,8 @@ DEVICE=eth0 BOOTPROTO=dhcp HWADDR=00:11:22:33:44:55 ONBOOT=yes -DHCP_HOSTNAME=host1 +# WARNING: When both DHCP_HOSTNAME and DHCP_FQDN are specified, +# only DHCP_FQDN will be used. +DHCP_HOSTNAME=host1 +DHCP_FQDN=host1.foo.bar.com |