Skip to content
Snippets Groups Projects
Unverified Commit f671c595 authored by Simon Josefsson's avatar Simon Josefsson Committed by Ludovic Courtès
Browse files

doc: Add static network example.


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

Signed-off-by: default avatarLudovic Courtès <ludo@gnu.org>
parent 75bb6e46
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment