summary refs log tree commit diff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-07-30 14:23:51 +0200
committerLudovic Courtès <ludo@gnu.org>2017-07-30 16:23:19 +0200
commit03317cbfc4e76cfe208cafaa9ba9a103bb2b33b1 (patch)
treeca2ded72f3f79caa6f445092be5cbb7e9d251e27 /doc/guix.texi
parentc918773a03ba54649b9cb702aacf7bc2d97a2e7a (diff)
downloadguix-03317cbfc4e76cfe208cafaa9ba9a103bb2b33b1.tar.gz
doc: Give an example of arguments for the 'run-vm.sh' script.
Suggested by Oleg Pykhalov <go.wigust@gmail.com>.

* doc/guix.texi (Invoking guix system): Give an example of passing
arguments to the 'run-vm.sh' script.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 2beeaf9779..4d2c45e8a4 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -16472,7 +16472,13 @@ passed.
 @anchor{guix system vm}
 Build a virtual machine that contains the operating system declared in
 @var{file}, and return a script to run that virtual machine (VM).
-Arguments given to the script are passed to QEMU.
+Arguments given to the script are passed to QEMU as in the example
+below, which enables networking and requests 1@tie{}GiB of RAM for the
+emulated machine:
+
+@example
+$ /gnu/store/@dots{}-run-vm.sh -m 1024 -net user
+@end example
 
 The VM shares its store with the host system.