summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Libvirt.hs
AgeCommit message (Collapse)Author
2019-06-15Libvirt.installed: install libvirt-daemon-systemDavid Bremner
Several things recommend libvirt-daemon, but not for whatever reason libvirt-daemon-system. This means the libvirt-daemon is not started, which can cause virt-install to fail. Installing libvirt-daemon explicitly is probably overkill, but avoids problems in case the dependencies of libvirt-daemon-system change.
2019-01-20fix Libvirt.hs haddock buildSean Whitton
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
2019-01-20Revert "propellor: fix haddock markup in Propellor.Property.Libvirt"Joey Hess
This reverts commit 278ca887cc734ea60af429d545a6da446a0cc6aa.
2019-01-20propellor: fix haddock markup in Propellor.Property.LibvirtSergei Trofimovich
'cabal haddock' fails as: src/Propellor/Property/Libvirt.hs:35:1: error: parse error (possibly incorrect indentation or mismatched brackets) Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2018-11-10avoid passing an empty arg when the OS variant is unknown, tooSean Whitton
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
2018-11-10fix generated virt-install(1) call when NoAutoStartSean Whitton
2018-11-10Libvirt.defined: use DiskImage.imageChrootNotPresentSean Whitton
2018-11-10define the VM without using a shell scriptSean Whitton
2018-11-10Libvirt.defaultNetworkAutostarted additionally starts the networkSean Whitton
2018-11-10rewrite code to start the VM to not use a shell scriptSean Whitton
2018-11-10refactor to reduce parenthesesSean Whitton
Suggested-by: Joey Hess <id@joeyh.name>
2018-11-10add virshGetColumnsSean Whitton
2018-11-09whitespace fixesSean Whitton
2018-11-09note that --os-variant is optionalSean Whitton
2018-11-09specify many more --os-variant valuesSean Whitton
2018-11-09stop passing --os-type to virt-installSean Whitton
This argument is not documented in recent versions of the virt-install(1) manpage, and testing reveals that at least along with --os-variant=debian9, additionally passing --os-type=Linux makes no difference to the generated XML. It makes sense that --os-variant would be sufficient, since it has a superset of the semantic content of --os-type.
2018-11-09kvmDefined -> definedSean Whitton
The VM could be raw QEMU without KVM, and we might later extend the property to be able to Xen domains too.
2018-11-09comment out the QCow2 constructor until that's implementedSean Whitton
2018-11-09newtypes for NumVCPUs and MiBMemorySean Whitton
Less chance of requesting 2048 CPU cores and 2MiB of memory. Suggested-by: Joey Hess <id@joeyh.name>
2018-11-05libvirt: fix unconditional autostartSean Whitton
2018-11-05libvirt: don't try to start running VMSean Whitton
2018-11-05libvirt: fix exporting type aliasesSean Whitton
2018-11-05fix inverted logicSean Whitton
2018-11-05libvirt: don't try to nuke if it is already nukedSean Whitton
2018-11-05add missing spaces to two of the arguments to virt-installSean Whitton
2018-11-05fix extension of raw imageSean Whitton
2018-11-05libvirt: export data typesSean Whitton
2018-11-05Libvirt: fix a typeSean Whitton
2018-11-05Libvirt: docs inc. sample usageSean Whitton
2018-11-05Libvirt.defaultNetworkAutostarted requires libvirt installedSean Whitton
2018-11-05start work on libvirt moduleSean Whitton