[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27869: [PATCH] doc: Add note about overwritting /gnu/store/...-run-v
From: |
Ludovic Courtès |
Subject: |
bug#27869: [PATCH] doc: Add note about overwritting /gnu/store/...-run-vm.sh |
Date: |
Sun, 30 Jul 2017 14:23:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Heya,
Oleg Pykhalov <address@hidden> skribis:
> Hi Ludovic,
>
> address@hidden (Ludovic Courtès) writes:
>
> [...]
>
>> Perhaps we should add the example to illustrate this last sentence?
>
> Yea, it will be great, because it's not obvious for me and maybe
> somebody else. Is current example OK?
Yes, I’ve committed this:
diff --git a/doc/guix.texi b/doc/guix.texi
index 345285031..77909f886 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -16440,7 +16440,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 address@hidden of RAM for the
+emulated machine:
+
address@hidden
+$ /gnu/store/@dots{}-run-vm.sh -m 1024 -net user
address@hidden example
The VM shares its store with the host system.
Thanks,
Ludo’.