nixops-libvirtd
nixops-libvirtd copied to clipboard
NixOps libvirtd backend plugin [maintainer=@AmineChikhaoui]
It would be great to have lightweight containers in addition to VMs. libvirtd supports LXC: https://libvirt.org/drvlxc.html
It would be helpful to have the ability to run a libvirtd deployment on a remote host.
When trying to deploy a libvirt machine using this repo's version of the nixops-libvirt plugin, I run into the following error: ``` example> Connecting to qemu:///system... example> preparing disk image......
Workaround: ``` $ sqlite3 ~/.nixops/deployments.nixops > UPDATE ResourceAttrs SET value = "52:54:00:53:48:29" WHERE value = '52:54:00:64:bc:dc'; ```
Just like for VirtualBox, use a base image when deploying. This speeds up the process as it's usually quicker to just update the image instead of always generating a new...
With up upgrade to nixpkgs `release-18.03`, I started seeing this in about 50% of my libvirt nixops deployments: ``` node-3..> uploading key ‘mykey’... libvirt: Network Driver error : invalid network...