From 03317cbfc4e76cfe208cafaa9ba9a103bb2b33b1 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 30 Jul 2017 14:23:51 +0200 Subject: doc: Give an example of arguments for the 'run-vm.sh' script. Suggested by Oleg Pykhalov . * doc/guix.texi (Invoking guix system): Give an example of passing arguments to the 'run-vm.sh' script. --- doc/guix.texi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc') 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. -- cgit v1.2.3