GNU bug report logs - #32891
[PATCH] doc: Add static network example.

Previous Next

Package: guix-patches;

Reported by: Simon Josefsson <simon <at> josefsson.org>

Date: Mon, 1 Oct 2018 10:47:01 UTC

Severity: normal

Tags: fixed, patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Simon Josefsson <simon <at> josefsson.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] doc: Add static network example.
Date: Mon, 01 Oct 2018 12:45:59 +0200
[Message part 1 (text/plain, inline)]
* doc/guix.texi (Networking Services): Add example for static-networking-service.
---
 doc/guix.texi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/doc/guix.texi b/doc/guix.texi
index e1046eb51..592d51a47 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -11616,6 +11616,15 @@ interface of interest.  Behind the scenes what it does is extend
 to handle.
 @end deffn
 
+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
 @cindex wireless
 @cindex WiFi
-- 
2.11.0

[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 6 years and 237 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.