emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#27869: closed ([PATCH] doc: Add note about overwri


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#27869: closed ([PATCH] doc: Add note about overwritting /gnu/store/...-run-vm.sh)
Date: Sun, 30 Jul 2017 12:24:02 +0000

Your message dated Sun, 30 Jul 2017 14:23:38 +0200
with message-id <address@hidden>
and subject line Re: [bug#27869] [PATCH] doc: Add note about overwritting 
/gnu/store/...-run-vm.sh
has caused the debbugs.gnu.org bug report #27869,
regarding [PATCH] doc: Add note about overwritting /gnu/store/...-run-vm.sh
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
27869: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27869
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] doc: Add note about overwritting /gnu/store/...-run-vm.sh Date: Sat, 29 Jul 2017 14:59:07 +0300
Ludovic's hack from
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27691#49

>From 26088eca8d584a635954e121e0e6b2e64b1f568d Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <address@hidden>
Date: Sat, 29 Jul 2017 14:50:41 +0300
Subject: [PATCH] doc: Add note about overwritting /gnu/store/...-run-vm.sh
 defaults.

* doc/guix.texi (Invoking guix system): Add note about overwritting
  /gnu/store/...-run-vm.sh defaults.
---
 doc/guix.texi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/guix.texi b/doc/guix.texi
index 27ba68d67..840232b37 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -16429,6 +16429,13 @@ guix system vm my-config.scm \
    --expose=$HOME --share=$HOME/tmp=/exchange
 @end example
 
+will return a @file{/gnu/store/…-run-vm.sh} shell-script on success.
+You can overwrite defaults:
+
address@hidden
+/gnu/store/…-run-vm.sh -m 1024
address@hidden example
+
 On GNU/Linux, the default is to boot directly to the kernel; this has
 the advantage of requiring only a very tiny root disk image since the
 store of the host can then be mounted.
-- 
2.13.3


--- End Message ---
--- Begin Message --- Subject: Re: [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’.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]