help-guix
[Top][All Lists]
Advanced

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

Re: Add os config file to VM image


From: Christopher Baines
Subject: Re: Add os config file to VM image
Date: Thu, 10 Oct 2019 09:06:31 +0100
User-agent: mu4e 1.2.0; emacs 26.3

Jesse Gibbons <address@hidden> writes:

> I work on a virtual machine generated with "guix system vm-image". Due to
> the recent core updates, the vm image will need to fall out of date unless
> it can be updated and reconfigured. Right now, the best way to reconfigure
> the vm image is to copy the system definition onto the image, then run guix
> system reconfigure.
>
> This can be a hassle depending on the host, virtual machine manager, etc.
> used. I think it would be useful to copy the system configuration to the
> resulting system when it is generated so it can be used to keep a system up-
> to-date in the future. Is there something I can add to a configuration to
> accomplish this? I think it would be useful to others.
>
> I tried using this-operating-system, but I haven't had any luck even seeing
> what it contains.

Yep, the vm-image.tmpl file within Guix includes configuration that can
be used to do this [1].

1: 
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system/examples/vm-image.tmpl#n76

Take a look at where etc-service-type, and this-file are mentioned.

Chris

Attachment: signature.asc
Description: PGP signature


reply via email to

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