[Nix-dev] Declarative VMs in libvirt/Qemu
Danylo Hlynskyi
abcz2.uprola at gmail.com
Tue May 16 22:40:22 CEST 2017
You can get some inspiration from NixOps libvirtd backend.
Also, I think little changes to NixOps will allow to start/stop non-NixOS
images too.
Though I've run into issues with network of libvirtd machines (DHCP
problems)...
2017-05-15 20:26 GMT+03:00 Justin Humm <justin.humm at posteo.de>:
> Hello everyone,
>
> I'm looking for a best practice for declarative VMs in libvirt/qemu. What
> I want
> to do:
>
> * define volumes with an OS image (not NixOS) on it
> * access the fs on the volume once, change some files (e.g. ssh keys)
> * boot the vm
> * define networks, which connect the vms with each other
>
> Would be lovely to have this done entirely in Nix, but I haven't seen
> anything like that yet. Does anybody have an approach, which works good and
> is declarative?
>
> Best and thanks,
> Justin
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/nix-dev/attachments/20170516/d79432af/attachment.html>
More information about the nix-dev
mailing list