diff options
author | Simon Josefsson <simon@josefsson.org> | 2018-10-01 12:45:59 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-10-02 14:53:39 +0200 |
commit | f671c59555749161a5960a4c5c373297b60e4be8 (patch) | |
tree | b1608fe99a6bbcca5675d6e2ba954386dd9a9589 /doc | |
parent | 75bb6e46eac90c95e910986ad8ae32927e879052 (diff) | |
download | guix-f671c59555749161a5960a4c5c373297b60e4be8.tar guix-f671c59555749161a5960a4c5c373297b60e4be8.tar.gz |
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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 94bb0ec4e1..3c116fc0be 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -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 |