summaryrefslogtreecommitdiff
path: root/libvirt/utils_domain_def.go
Commit message (Collapse)AuthorAge
* Handle keyword-less kernel paramsFlavio Castelli2018-02-20
| | | | | | | | Allow kernel params that don't have a key/value structure to be handled. Also allow params with nested equal signs, like `root=UUID=aa52d618-a2c4-4aad-aeb7-68d9e3a2c91d` Signed-off-by: Flavio Castelli <fcastelli@suse.com>
* refactor resourceLibvirtDomainCreateThomas Hipp2018-02-19
| | | | Signed-off-by: Thomas Hipp <thipp@suse.de>
* Do not choke on empty kernel cmdlineDuncan Mac-Vicar P2017-11-24
|
* Read back cmdline, initrd and kernel attributes from the resourceDuncan Mac-Vicar P2017-11-24
|
* add gofmt check for pkg(libvirt and main)MalloZup2017-11-07
|
* Full support for arch,machine & emulator settingsDean Smith2017-09-19
Add emulator setting support Completes support from arch and machine when reading current status Adds a new function newDomainDefForConnection that takes a domainDef and populates with defaults from the current host which is more sensible than guessing across distributions Maps canonical machine types <> actual to avoid changes Due to the way libvirt works if you specific machine types like pc,isapc or q35 these get translated into 'canonical' forms, ie. the latest version When quering terraform will notice a change, as it would still be looking for pc and will get something like pc-i440fx-2.9. Code has been added to assume that if we see 'pc-i440fx-2.9' and it is canonical for pc then we translate back to pc for terraform. This could cause issues if you are specifically using pc-i440fx-2.9 as the machine type in your terraform file.