[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: doc: Remove extraneous spaces from the net-option
From: |
guix-commits |
Subject: |
branch master updated: doc: Remove extraneous spaces from the net-options default value snippet. |
Date: |
Mon, 26 Apr 2021 23:46:56 -0400 |
This is an automated email from the git hooks/post-receive script.
apteryx pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new ef63a4f doc: Remove extraneous spaces from the net-options default
value snippet.
ef63a4f is described below
commit ef63a4fa3b583f9a4cea23d2a4ff3f1f15dfb609
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Apr 26 23:23:19 2021 -0400
doc: Remove extraneous spaces from the net-options default value snippet.
Adapting the snippet corresponding to the default value of the net-options
field of the hurd-vm-configuration record shown in the manual would easily
lead to a broken childhurd service, due to the presence of extraneous spaces
in the option string.
* doc/guix.texi (Virtualization Services)[hurd-vm-configuration]
<net-options>: Use string-append to properly form the option string.
---
doc/guix.texi | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 988edb3..038d321 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -29028,10 +29028,11 @@ By default, it produces
@lisp
'("--device" "rtl8139,netdev=net0"
- "--netdev" "user,id=net0\
- ,hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004\
- ,hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222\
- ,hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900")
+ "--netdev" (string-append
+ "user,id=net0,"
+ "hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004,"
+ "hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222,"
+ "hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900"))
@end lisp
with forwarded ports:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: doc: Remove extraneous spaces from the net-options default value snippet.,
guix-commits <=