all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: guix-devel@gnu.org
Subject: Re: Please put the system-configuration into the image
Date: Fri, 08 Sep 2017 13:45:21 +0200	[thread overview]
Message-ID: <B68E5246-419A-48BF-998C-81BBF92C45F6@lepiller.eu> (raw)
In-Reply-To: <8d2454ec-c878-0e30-fa06-5fd00f017560@crazy-compilers.com>

[-- Attachment #1: Type: text/plain, Size: 2591 bytes --]

Le 8 septembre 2017 12:11:45 GMT+02:00, Hartmut Goebel <h.goebel@crazy-compilers.com> a écrit :
>Am 07.09.2017 um 14:43 schrieb ng0:
>> You can take any system configuration file and build a shared or
>free-standing
>> vm with the "guix system" function. It
>
>I'm afraid, you did not get the point (No offence meant!): I know that
>I
>can do this. I also know that I can maintain configs via git. But all
>this is the developers perspective.
>
>If somebody is downloading the ISO-image and installing GuixSD on some
>machine – stand-alone, no other GuixSD systems around: He/she would
>store the system-config somewhere on the machine, change it and
>"reconfigure" and hack around. (At least this is what I would do.) So
>why there is no starting-point for system-config in the image? Why
>would
>the user need to download it from some (no quite obvious)
>internet-address?
>
>I also would expect to have the config for this very system at hand.
>Yes, the manual has a section "Building the Installation Image", but
>*if* I ever recognize this section, I'd still have to dig into the
>source and fetch the actual file.
>
>For making live easier for new users and for encouraging them to
>re-gain
>the power over their computer, we should IMHO serve the config on 
>silver plate.
>
>I hope my motivation is more clear now.
>
>-- 
>Regards
>Hartmut Goebel
>
>| Hartmut Goebel          | h.goebel@crazy-compilers.com              
>|
>| www.crazy-compilers.com | compilers which you thought are impossible
>|

I also agree with Hartmut. In the installation image, we have /etc/configuration which contains some sample configuration you can start from to define your system. There is no need to have the configuration of the live system I think, because it is not what you want to install on your disk.

The qemu image however is meant to be copied directly to the virtual disk of a VM, so it is not a live system, but your own system. I think it would be better for the user to be able to access the configuration directly from the VM and start from a known-good config before reconfiguring. I now have a running GuixSD VM and it was a pain to configure, because the interface to the VM did not allow copy-pasting and had a strange plugin for interpreting my keystrokes. Had I have this file on the VM, I could have modified only a small portion of it and continue with ssh. But I had to copy the sample config character by character and hope I did not do any mistake.

If no one beats me to this, I'll try to make a patch for it this week-end.

[-- Attachment #2: Type: text/html, Size: 2908 bytes --]

  parent reply	other threads:[~2017-09-08 11:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-05 17:44 Please put the system-configuration into the image Hartmut Goebel
2017-09-05 17:55 ` Adam Pribyl
2017-09-05 18:05 ` ng0
2017-09-06 17:23   ` Hartmut Goebel
2017-09-07  8:30     ` Ludovic Courtès
2017-09-07  9:20       ` Hartmut Goebel
2017-09-07 12:43         ` ng0
2017-09-08 10:11           ` Hartmut Goebel
2017-09-08 11:42             ` Vincent Legoll
2017-09-08 11:45             ` Julien Lepiller [this message]
2017-09-08 12:07               ` Vincent Legoll
2017-09-10 20:48             ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B68E5246-419A-48BF-998C-81BBF92C45F6@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.