aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/ifcfg-eth-dhcp
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2018-06-04 16:00:49 +0200
committerDee'Kej <deekej@linuxmail.org>2018-06-14 16:11:54 +0200
commit057dff7fb667abdfb7e654ee8657a8afb85b5a68 (patch)
treedffb2505d913010793ec5504368774234015fd3a /doc/examples/ifcfg-eth-dhcp
parentfb51ebb8e61990caff9b3ab525e180372beec8e5 (diff)
downloadinitscripts-057dff7fb667abdfb7e654ee8657a8afb85b5a68.tar
initscripts-057dff7fb667abdfb7e654ee8657a8afb85b5a68.tar.gz
initscripts-057dff7fb667abdfb7e654ee8657a8afb85b5a68.tar.bz2
initscripts-057dff7fb667abdfb7e654ee8657a8afb85b5a68.tar.xz
initscripts-057dff7fb667abdfb7e654ee8657a8afb85b5a68.zip
specfile: network-scripts subpackage created
Diffstat (limited to 'doc/examples/ifcfg-eth-dhcp')
-rw-r--r--doc/examples/ifcfg-eth-dhcp14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/examples/ifcfg-eth-dhcp b/doc/examples/ifcfg-eth-dhcp
new file mode 100644
index 00000000..58d46bf8
--- /dev/null
+++ b/doc/examples/ifcfg-eth-dhcp
@@ -0,0 +1,14 @@
+# ifcfg sample for common ethernet interfaces using DHCP
+#
+# Please read /usr/share/doc/initscripts-*/sysconfig.txt
+# for the documentation of these parameters.
+
+DEVICE=eth0
+BOOTPROTO=dhcp
+HWADDR=00:11:22:33:44:55
+ONBOOT=yes
+
+# 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