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.master
parent
4de688738c
commit
ef63a4fa3b
|
@ -29028,10 +29028,11 @@ By default, it produces
|
||||||
|
|
||||||
@lisp
|
@lisp
|
||||||
'("--device" "rtl8139,netdev=net0"
|
'("--device" "rtl8139,netdev=net0"
|
||||||
"--netdev" "user,id=net0\
|
"--netdev" (string-append
|
||||||
,hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004\
|
"user,id=net0,"
|
||||||
,hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222\
|
"hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004,"
|
||||||
,hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900")
|
"hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222,"
|
||||||
|
"hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900"))
|
||||||
@end lisp
|
@end lisp
|
||||||
|
|
||||||
with forwarded ports:
|
with forwarded ports:
|
||||||
|
|
Reference in New Issue