doc: Add static network example.

* doc/guix.texi (Networking Services): Add example for static-networking-service.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Simon Josefsson 2018-10-01 12:45:59 +02:00 committed by Ludovic Courtès
parent 75bb6e46ea
commit f671c59555
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 8 additions and 0 deletions

View File

@ -11614,6 +11614,14 @@ This procedure can be called several times, one for each network
interface of interest. Behind the scenes what it does is extend
@code{static-networking-service-type} with additional network interfaces
to handle.
For example:
@example
(static-networking-service "eno1" "192.168.1.82"
#:gateway "192.168.1.2"
#:name-servers '("192.168.1.2"))
@end example
@end deffn
@cindex wicd