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:
parent
75bb6e46ea
commit
f671c59555
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue