[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: doc: Add static network example.
From: |
Ludovic Courtès |
Subject: |
01/03: doc: Add static network example. |
Date: |
Tue, 2 Oct 2018 08:53:56 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit f671c59555749161a5960a4c5c373297b60e4be8
Author: Simon Josefsson <address@hidden>
Date: Mon Oct 1 12:45:59 2018 +0200
doc: Add static network example.
* doc/guix.texi (Networking Services): Add example for
static-networking-service.
Signed-off-by: Ludovic Courtès <address@hidden>
---
doc/guix.texi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/doc/guix.texi b/doc/guix.texi
index 94bb0ec..3c116fc 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:
+
address@hidden
+(static-networking-service "eno1" "192.168.1.82"
+ #:gateway "192.168.1.2"
+ #:name-servers '("192.168.1.2"))
address@hidden example
@end deffn
@cindex wicd