From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: Please put the system-configuration into the image Date: Thu, 7 Sep 2017 12:43:06 +0000 Message-ID: <20170907124306.yy7seidv66ajlkka@abyayala> References: <2af008a3-ba55-1894-4cad-3afee197b225@crazy-compilers.com> <20170905180529.yk2kphegofhu7rft@abyayala> <1ee6f79c-a1b2-fe38-7cb2-e3ca4220985f@crazy-compilers.com> <87h8wezz9n.fsf@gnu.org> <9d3029d4-8069-4c95-702e-6194f7fa8cd2@crazy-compilers.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="odgyeii36rbgj3gc" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpw9s-0001H5-Rs for guix-devel@gnu.org; Thu, 07 Sep 2017 08:43:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpw9n-0001YJ-TN for guix-devel@gnu.org; Thu, 07 Sep 2017 08:43:48 -0400 Content-Disposition: inline In-Reply-To: <9d3029d4-8069-4c95-702e-6194f7fa8cd2@crazy-compilers.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: guix-devel --odgyeii36rbgj3gc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hartmut Goebel transcribed 1.3K bytes: > Am 07.09.2017 um 10:30 schrieb Ludovic Court=C3=A8s: > > However, I don=E2=80=99t quite understand the use case: you=E2=80=99d l= ike to hack on > > the OS declaration of the image from within the image? That sounds > > inconvenient no? >=20 > My use case is this: >=20 > I plan to use GuixSD for one of my systems. Prior to installing GuixSD > on real hardware, I want to test it and see how a GuixSD system would > work and feel. And taking the perspective of a non-developer, I don't > have any GuixSD yet. I may be using Fedora or Debian and want to try out > GuixSD. For this I use the QEMU image You can take any system configuration file and build a shared or free-stand= ing vm with the "guix system" function. It's really easy this way. "guix system vm config.scm" would produce a vm and in the end you get a shell script you can use to start this vm. > My understanding is that I would have a system-definition describing > this very system and if I want to change the system-configuration, I > change the system-definition. On e.g. Debian I would apt-get software > and change config-files, while on GuixSD I would change the > system-definition and reconfigure. >=20 > And I imagine to have the corresponding system-definition *in* the > system, since in this use-case there is no separate "main GuixSD > installation". Like when using ansible, puppet, etc. for managing *this* > system, I need the system definition *for* this system *in* this system. >=20 > I hope this is clearer now. Wouldn't simply keeping the configuration file(s) in a git help (for a start)? This is what I do personally: https://gitweb.krosos.org/systems For infotropique I have this combination of plain config files (templates) and (almost) the same content in variations of the before referenced "insta= ll.scm". > --=20 > Regards > Hartmut Goebel >=20 > | Hartmut Goebel | h.goebel@crazy-compilers.com | > | www.crazy-compilers.com | compilers which you thought are impossible | >=20 >=20 >=20 >=20 --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://n0is.noblogs.org/my-keys https://www.infotropique.org https://krosos.org --odgyeii36rbgj3gc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlmxPtoACgkQ4i+bv+40 hYiOvRAAnjRGr/mvNez5gZuKJstKjwvUQ+H8huCvN+JK93RWZxp711AHgAgZIRPQ k3CpIVFjsUBmDu1e0j4rSYPrAu5v1U43UYdwX/0fkS/K7PxobWFQFdtw7BZbfO1s CVL8vxF0cbaXw+9JMeluLAjKHdzd1YM/CS0Ke8zpOROOKYMmsTLfDnYilM+tEm6p zDus9sGHSQZOfCzUYEWL/9JS4GqCTq3eksAAMmFABBbtbL8Ib7u7GRquC2x87fIZ gsGRvwAkCIaIHcKAshbdNpMQT+HS8WjP8ZJD8NWgm2w76C81T17Hm+2/JZvxqmCf GWnKsOF7f4jFyhFVFrou6dIY1+F19bE+BPtZmo7fjsZnT8D5ZLsyX1BoZ4Frt0JP 1NTL0W39OKE6cNaL0aRd7d8tYtMaNY8lV7P435A1AyizO8I9mKVt8UCep6yR9Tmn xN0mR8ix018Bqg9MvABpKnWJlMQtItDRcTy+ZJgun4HHD+mE5itPOvQUia62L5Mf dmeT5zXJyWpnkkIVrnmFkS82b1RP2jX3j+wHDi0pXGu2NlA1QOgO9IcvkxYiQq6b cWfwBOgxn5zykXPZejNQHUSByQMUkjz6TjHcH6g5p73NMfl4SqRgiAA4CDTxtA1c PEDWzGDrd+/ezskwosZdnDXJu+Kos4+b9QGAv9UYVk6x6B2Zpwc= =WNas -----END PGP SIGNATURE----- --odgyeii36rbgj3gc--