aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* remove dead/unreachable codeThomas Hipp2018-02-19
| | | | Signed-off-by: Thomas Hipp <thipp@suse.de>
* refactor cloudinitThomas Hipp2018-02-19
| | | | Signed-off-by: Thomas Hipp <thipp@suse.de>
* refactor resourceLibvirtDomainCreateThomas Hipp2018-02-19
| | | | Signed-off-by: Thomas Hipp <thipp@suse.de>
* refactor schemasThomas Hipp2018-02-19
| | | | | | | | * use boolean where it makes sense * do not use schema.TypeMap, but schema.TypeList with MaxItems=1 * do not split domain schema Signed-off-by: Thomas Hipp <thipp@suse.de>
* fix difference detection when using an existing bridge networkmluu2018-01-14
| | | | | | | | | | | | | | | given the terraform: ```json resource "libvirt_domain" "myvm" { network_interface { bridge = "some-bridge" network_name = "existing-bridge-network" } } ``` `terraform plan` would always think it needs to re-apply the domain
* Update README's requirement sectionFlavio Castelli2018-01-14
| | | | | | Add `mkisofs` to the list of requirements Signed-off-by: Flavio Castelli <fcastelli@suse.com>
* Modify cloudinit to use 'mkisofs' instead of 'genisoimage'.night199uk2018-01-14
| | | | | genisoimage was debian's fork of mkisofs so the two are compatible, but mkisofs is available on more OS' (e.g. macOS via brew).
* fix network linkeAndrew Paxson2018-01-14
|
* add an example for ubuntuAndrew Paxson2018-01-14
| | | The Serial Console bug on ubuntu can be tough to find for people not used to the setup this example is just a nice example of creating a simple ubuntu instance from cloud images and passing in the ssh key.
* spelling....Andrew Paxson2018-01-14
|
* fix markdown spellingAndrew Paxson2018-01-14
|
* add the website docs to the README for visibilityAndrew Paxson2018-01-14
| | | because the terraform website docs are not live lets put them on the front page.
* Merge pull request #264 from monstermunchkin/issues/262Thomas Hipp2017-12-28
|\ | | | | domain: honor arch, machine, and emulator settings
| * domain: honor arch, machine, and emulator settingsThomas Hipp2017-12-22
|/ | | | | | | | | | The settings 'arch', 'machine', and 'emulator' should be honored. The default values have been removed. Instead, if not provided, the values are determined by consulting libvirt directly. This fixes #262. Signed-off-by: Thomas Hipp <thipp@suse.de>
* Add new method to get information on domain interfacesEamonn O'Toole2017-12-14
| | | | | | | | | | | | | | | | | | | We've found that, when executing destroy/create cycles on a domain where the virtual network(s) to which it is attached are persisted across these cycles then we get network failures on recreation of the domain since the old entries for the domain are still present in the virtual network(s). This issue should (hopefully) be fixed by commit a20d2a92668b2d5e077267c50074bf853ef371d. We've also found that, on occasion, we don't get complete information on a domain's interfaces from ListAllInterfaceAddresses. This patch implements a new method getDomainInterfacesFromNetworks which is called from domainGetIfacesInfo after the qemu agent method has been used if the qemu agent method doesn't return any information. This new method builds the interface information from information collected from the networks themselves. Change-Id: I5271ee191db93b2b1a0f14dc226d0b945f77a901
* Merge pull request #258 from monstermunchkin/support-cdromsThomas Hipp2017-12-08
|\ | | | | support local cdroms
| * support local cdromsThomas Hipp2017-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Local cdroms can now be added directly to the domain. See the following example: ```hcl resource "libvirt_domain" "test-domain" { name = "test" disk { file = "path/to/file.iso" } } ``` Furthermore, a small Tiny Core Linux (TCL) ISO image has been added to the testdata. This can be used for testing purposes. Signed-off-by: Thomas Hipp <thipp@suse.de>
* | Merge pull request #256 from monstermunchkin/unique-volume-nameThomas Hipp2017-12-08
|\ \ | | | | | | check uniqueness of storage volume name
| * | check uniqueness of storage volume nameThomas Hipp2017-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | The storage volume name needs to be unique. If this is not the case, the storage volume will be overwritten which is not problematic itself. However, `terraform destroy` will fail since it will try and delete the same storage volume twice. Signed-off-by: Thomas Hipp <thipp@suse.de>
* | | Merge pull request #221 from simonswine/fixes-net-updatesThomas Hipp2017-12-08
|\ \ \ | |_|/ |/| | Make add/updateHost a bit more resilient
| * | Make add/updateHost a bit more resilientChristian Simon2017-12-02
|/ / | | | | | | | | * provide a updateOrAddHost method that first will try to update an existing one, before adding a host entry
* | Merge pull request #255 from MalloZup/remove-runningThomas Hipp2017-11-30
|\ \ | |/ |/| remove running property in net and domain
| * remove running from documentationDario Maiocchi2017-11-28
| |
| * remove running property in net and domainDario Maiocchi2017-11-28
| |
* | Merge pull request #253 from monstermunchkin/test-formattingThomas Hipp2017-11-28
|\ \ | |/ |/| tests: format hcl strings
| * tests: format hcl stringsThomas Hipp2017-11-27
|/ | | | Signed-off-by: Thomas Hipp <thipp@suse.de>
* Simplify the wait_for_leases mechanismAlvaro Saurin2017-11-27
|
* Retry the query about interfaces to the qemu-agentAlvaro Saurin2017-11-27
|
* adding documentation about network autostartDario Maiocchi2017-11-27
|
* add test for autostart optionDario Maiocchi2017-11-27
|
* Init first backportDario Maiocchi2017-11-27
|
* Merge pull request #242 from dmacvicar/kernel_initrdDuncan Mac-Vicar P2017-11-27
|\ | | | | Add support for kernel/initrd/cmdline options
| * TypoDuncan Mac-Vicar P2017-11-24
| |
| * Add missing hcl markdown fenceDuncan Mac-Vicar P2017-11-24
| |
| * Remove intermediate variables in map iterationDuncan Mac-Vicar P2017-11-24
| |
| * Simplify for loopDuncan Mac-Vicar P2017-11-24
| |
| * Typo in cmdline docsDuncan Mac-Vicar P2017-11-24
| |
| * Type not needed in literal anymoreDuncan Mac-Vicar P2017-11-24
| |
| * No need to make a 0 len sliceDuncan Mac-Vicar P2017-11-24
| |
| * Do not choke on empty kernel cmdlineDuncan Mac-Vicar P2017-11-24
| |
| * Split kernel cmdline testDuncan Mac-Vicar P2017-11-24
| |
| * Read back cmdline, initrd and kernel attributes from the resourceDuncan Mac-Vicar P2017-11-24
| |
| * Fix tests by adding fixture for kernel and initrdDuncan Mac-Vicar P2017-11-24
| |
| * Add support for kernel/initrd/cmdlineDuncan Mac-Vicar P2017-11-24
| |
| * don't allocate memory with 0 make variablesMalloZup2017-11-24
| |
| * remove duplicata declaration and simplify code.Dario Maiocchi2017-11-24
| | | | | | | | This fix is with the cmd "gofmt -w -s *"
* | Merge pull request #241 from MalloZup/improve-codebaseThomas Hipp2017-11-23
|\ \ | |/ |/| remove duplicata declaration and simplify code.
| * don't allocate memory with 0 make variablesMalloZup2017-11-17
| |
| * remove duplicata declaration and simplify code.Dario Maiocchi2017-11-16
| | | | | | | | This fix is with the cmd "gofmt -w -s *"
* | use poolMutexKV for locking resources.Dario Maiocchi2017-11-22
| |