all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: myglc2@gmail.com
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Seeking best-practice for managing guix-defined VMs
Date: Sun, 14 Jan 2018 16:06:00 -0500	[thread overview]
Message-ID: <86d12ckv5z.fsf@gmail.com> (raw)
In-Reply-To: <3bfa0bc6-8daa-f6d5-7ade-ec26e1329423@crazy-compilers.com> (Hartmut Goebel's message of "Sun, 14 Jan 2018 19:51:59 +0100")

On 01/14/2018 at 19:51 Hartmut Goebel writes:

> I wonder about the best-practice for managing VMs built using `guix
> system vm`.

I doubt this is best practice, but I have been using a bash script to
build, commission, and route VMs on a GuixSD server.  Because I want
self-contained, portable, stateful VMs that can also run elsewhere, I
use 'guix system vm-image'. I keep track of the VM config by caching the
config file and 'guix --version' w/the image, which must be copied out
of the store in order to run (and is therefore not affected by 'guix
gc'). I keep track of what's running and avoid colisions by forcing a
1-to-1 mapping between the image file name, VM name, TUN/TAP device
name, and MAC address.

HTH - George

  parent reply	other threads:[~2018-01-14 21:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-14 18:51 Seeking best-practice for managing guix-defined VMs Hartmut Goebel
2018-01-14 19:50 ` Marius Bakke
2018-01-14 21:06 ` myglc2 [this message]
2018-01-16 16:15 ` 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=86d12ckv5z.fsf@gmail.com \
    --to=myglc2@gmail.com \
    --cc=h.goebel@crazy-compilers.com \
    --cc=help-guix@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.