doc: Add a note about networking requirements for SSH access to VMs.

Fixes <https://issues.guix.gnu.org/48739>.  It may seem silly, but when not
realizing this firsthand, it can be quite surprising and thus not obvious to
troubleshoot.  Thanks to Eric Brown for their insightful comments on the
tracker.

* doc/guix.texi (Running Guix in a VM): Add a note that networking support
must be available in the Guix System operating system declaration used for the
VM.
This commit is contained in:
Maxim Cournoyer 2021-05-30 23:15:27 -04:00
parent 6086e6ed1a
commit b9ac7d9aaa
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -33845,6 +33845,13 @@ every time you modify your @command{config.scm} file and the
@command{-o StrictHostKeyChecking=no} prevents you from having to allow a
connection to an unknown host every time you connect.
@quotation Note
If you find the above @samp{hostfwd} example not to be working (e.g.,
your SSH client hangs attempting to connect to the mapped port of your
VM), make sure that your Guix System VM has networking support, such as
by using the @code{dhcp-client-service-type} service type.
@end quotation
@subsection Using @command{virt-viewer} with Spice
As an alternative to the default @command{qemu} graphical client you can