Re: VM image: can we simplify its use?
Leo Famulari writes: > We should offer something like a "Live Guix" image for people to try the > full Guix system without installing anything, and this should be more > fully-featured than the current Guix VM image. Interested parties would probably do well to examine prior art at places such as: https://www.debian.org/devel/debian-live/ Surely there are some things we can adapt. -- Chris signature.asc Description: PGP signature
Re: VM image: can we simplify its use?
Hello Daniel, Daniel Jiang skribis: > I think I can help! Missed the deadline for GSoC application because of > school stuff but that shouldn't stop me from contributing to Guix. This > sounds like a task on a level I can accomplish (though I might still need > some guidance/pointers of where to start). You’re welcome to give it a try! Like Leo wrote, you could essentially start from the gnu/system/examples/desktop.tmpl OS. You can pass it to ‘guix system vm’ image to try it out, until you’re satisfied with the result. At that point you can try ‘guix system vm-image’ and see how big the result is. Let us know how it goes! Thanks, Ludo’.
Re: VM image: can we simplify its use?
Hi Leo, Leo Famulari skribis: > Originally I added the VM image to address a specific use case at one VM > hoster. I had hoped it would catch on more than it did and that the VM > image would be improved to avoid these manual steps. > > In the meantime, people are using the VM image just to try out Guix — > for example, in a local QEMU instance. > > It doesn't give a great impression, so let's change it. Agreed. > We should offer something like a "Live Guix" image for people to try the > full Guix system without installing anything, and this should be more > fully-featured than the current Guix VM image. > > Let's replace the current VM image with this "Live Guix" thing for the > next release :) Should we adopt 'desktop.tmpl' for this? I think we could start from there. With GNOME, that’d be 2+ GiB probably, which is pretty big; otherwise we could come up with a lighter setup, say SLiM + Xfce (+ IceCat?). Thoughts? > Eventually we should also offer a Guix system service that works like > cloud-init [0] and can replace the manual work around networking, > partitioning, etc. Help wanted! It seems cloud-init is largely about running some sort of a YAMLish shell script that runs commands to obtain the desired state in terms of installed packages, system setup, and all that, right? To some extent that seems redundant with a typical OS declaration, no? Thanks for your feedback! Ludo’.
Re: VM image: can we simplify its use?
Hello, I think I can help! Missed the deadline for GSoC application because of school stuff but that shouldn't stop me from contributing to Guix. This sounds like a task on a level I can accomplish (though I might still need some guidance/pointers of where to start). Sincerely, Daniel Jiang On Tue, Apr 9, 2019 at 3:48 PM Leo Famulari wrote: > On Thu, Apr 04, 2019 at 04:56:51PM +0200, Ludovic Courtès wrote: > > I had criticism about the VM image: > [...] > > Thoughts? > > Originally I added the VM image to address a specific use case at one VM > hoster. I had hoped it would catch on more than it did and that the VM > image would be improved to avoid these manual steps. > > In the meantime, people are using the VM image just to try out Guix — > for example, in a local QEMU instance. > > It doesn't give a great impression, so let's change it. > > We should offer something like a "Live Guix" image for people to try the > full Guix system without installing anything, and this should be more > fully-featured than the current Guix VM image. > > Let's replace the current VM image with this "Live Guix" thing for the > next release :) Should we adopt 'desktop.tmpl' for this? > > Eventually we should also offer a Guix system service that works like > cloud-init [0] and can replace the manual work around networking, > partitioning, etc. Help wanted! > > [0] > https://cloud-init.io/ >
Re: VM image: can we simplify its use?
On Thu, Apr 04, 2019 at 04:56:51PM +0200, Ludovic Courtès wrote: > I had criticism about the VM image: [...] > Thoughts? Originally I added the VM image to address a specific use case at one VM hoster. I had hoped it would catch on more than it did and that the VM image would be improved to avoid these manual steps. In the meantime, people are using the VM image just to try out Guix — for example, in a local QEMU instance. It doesn't give a great impression, so let's change it. We should offer something like a "Live Guix" image for people to try the full Guix system without installing anything, and this should be more fully-featured than the current Guix VM image. Let's replace the current VM image with this "Live Guix" thing for the next release :) Should we adopt 'desktop.tmpl' for this? Eventually we should also offer a Guix system service that works like cloud-init [0] and can replace the manual work around networking, partitioning, etc. Help wanted! [0] https://cloud-init.io/ signature.asc Description: PGP signature
Re: VM image: can we simplify its use?
Hello, Ludovic Courtès ezt írta (időpont: 2019. ápr. 4., Cs, 16:57): > > Hello Guix! > > I had criticism about the VM image: > > > https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system/examples/vm-image.tmpl > > Namely that you have to manually set up networking, and then to manually > resize the image just to be able to run ‘guix pull’, is considered > inconvenient (rightly so). > I believe that expanding the documentation a bit on how to increase the -img size, addin why this is needed, and adding a fist time boot script, to adjust the partition and filesystem size to the size of the image would be helpful. Wdyt? > Would it be an option to install connman or something in the image? I believe this might be ok, but maybe we could just get by adding a dhcp service? That would solve most of the installs, and if that does not work, then you need at least some manual steps anyways. Or am I missing sommething? > > What about making the image bigger? I would expect the QCOW2 file to be > small, if the disk is full of zero. > > Thoughts? > > Ludo’. > Best regards, g_bor
Fwd: Re: VM image: can we simplify its use?
Oops, forgot to add mailing list to reply. Begin forwarded message: > From: Daniel Jiang > Date: April 4, 2019 at 18:08:43 CDT > To: Ludovic Courtès > Subject: Re: VM image: can we simplify its use? > > Hello, > > If this can refer to the qemu vm image available for download on the guix > website. I've got some thoughts to chime in. > > I think some scripts/info for walking through the setup could help a bunch if > bundled in the image like how other distros do (thinking of Slackware or > Ubuntu as an example). > > A script like the one for installing/setup of Guix could solve some of this > well and can be as simple as downloading the image and prompting for resize. > > I'll quickly add that instructions to login with 'root' would help too. As a > beginner who tried the vm image I felt lost at the login prompt. > > I like the idea of a larger qcow2 image as well since it's distributed > compressed on: https://www.gnu.org/software/guix/download/ > > Maybe different 'versions' can be made available or as options during a > hypothetical setup that each include different packages/configuration s? > Minimal, Desktop, Server, etc. (Thinking of Ubuntu and Slackware again) > > Sincerely, > Daniel Jiang > >> On Apr 4, 2019, at 09:56, Ludovic Courtès wrote: >> >> Hello Guix! >> >> I had criticism about the VM image: >> >> >> https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system/examples/vm-image.tmpl >> >> Namely that you have to manually set up networking, and then to manually >> resize the image just to be able to run ‘guix pull’, is considered >> inconvenient (rightly so). >> >> Would it be an option to install connman or something in the image? >> >> What about making the image bigger? I would expect the QCOW2 file to be >> small, if the disk is full of zero. >> >> Thoughts? >> >> Ludo’. >>