summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-09-14 23:01:23 +0200
committerLudovic Courtès <ludo@gnu.org>2014-09-14 23:49:02 +0200
commita023cca8d90cfdc7114bbdaa886c52b324075fb6 (patch)
treeecc71e3d81088c265368a48ecb56525d33ffee35 /doc
parent4d54785c69602b0714b3f9021b9bf6a5d619d40c (diff)
services: Add 'dhcp-client-service'.
* gnu/services/networking.scm (dhcp-client-service): New procedure. * doc/guix.texi (Networking Services): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 8c68c1a743..1c1a04c75c 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -3449,6 +3449,12 @@ Run @var{udev}, which populates the @file{/dev} directory dynamically.
The @code{(gnu system networking)} module provides services to configure
the network interface.
+@cindex DHCP, networking service
+@deffn {Monadic Procedure} dhcp-client-service [#:dhcp @var{isc-dhcp}]
+Return a service that runs @var{dhcp}, a Dynamic Host Configuration
+Protocol (DHCP) client, on all the non-loopback network interfaces.
+@end deffn
+
@deffn {Monadic Procedure} static-networking-service @var{interface} @var{ip} @
[#:gateway #f] [#:name-services @code{'()}]
Return a service that starts @var{interface} with address @var{ip}. If