| Commit message (Expand) | Author | Age |
* | Merge remote-tracking branches 'origin/network_improvs' and 'cbaines-github/s...for-govuk-mini-environment-admin | Christopher Baines | 2018-04-08 |
|\ |
|
| * | Add support for readonly disks | Christopher Baines | 2018-04-08 |
* | | More configuration options for networks | Alvaro Saurin | 2018-03-14 |
|/ |
|
* | Fix broken tests due to incorrect usage of t.Skip()•••Current tests were broken with the following error:
# github.com/dmacvicar/terraform-provider-libvirt/libvirt
libvirt/resource_libvirt_domain_test.go:874: Skip call has possible formatting directive %s
libvirt/resource_libvirt_domain_test.go:882: Skip call has possible formatting directive %s
FAIL github.com/dmacvicar/terraform-provider-libvirt/libvirt [build failed]
t.Skip with formatting should be t.Skipf()
| Jonathan Ballet | 2018-03-05 |
* | Merge branch 'keyless-kernel-cmdlines' | Flavio Castelli | 2018-02-20 |
|\ |
|
| * | Handle keyword-less kernel params•••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>
| Flavio Castelli | 2018-02-20 |
* | | Handle keyword-less kernel params•••Allow kernel params that don't have a key/value structure to be handled.
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
| Flavio Castelli | 2018-02-20 |
|/ |
|
* | Add make target to run acceptance tests | Flavio Castelli | 2018-02-19 |
* | Update to use latest release of terraform (0.11.3) | Flavio Castelli | 2018-02-19 |
* | Fix broken tests on Travis•••Some tests on travis are failing because there's no libvirt daemon
running. Marking these tests as acceptance tests.
| Flavio Castelli | 2018-02-19 |
* | Make the tests less noisy•••The TestWaitForSuccessBrokenFunction generated lots of useless noise,
this commit silences it.
| Flavio Castelli | 2018-02-19 |
* | Fix apt directive for travis | Flavio Castelli | 2018-02-19 |
* | Travis: ensure libvirt development headers are installed | Flavio Castelli | 2018-02-19 |
* | Travis: fix error•••Fix linting error, ensure tests are actually run
| Flavio Castelli | 2018-02-19 |
* | Ensure libvirt connection is released•••Deallocate the libvirt connect object before exit.
Fixes issue #266
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
| Flavio Castelli | 2018-02-19 |
* | travis: do not run acceptance tests•••Acceptance test have to be run inside of lxd, which is not working right
now on travis.
Let's fall back to regular tests until we have a better jenkins based
infra.
| Flavio Castelli | 2018-02-19 |
* | sort imports•••Signed-off-by: Thomas Hipp <thipp@suse.de>
| Thomas Hipp | 2018-02-19 |
* | remove dead/unreachable code•••Signed-off-by: Thomas Hipp <thipp@suse.de>
| Thomas Hipp | 2018-02-19 |
* | refactor cloudinit•••Signed-off-by: Thomas Hipp <thipp@suse.de>
| Thomas Hipp | 2018-02-19 |
* | refactor resourceLibvirtDomainCreate•••Signed-off-by: Thomas Hipp <thipp@suse.de>
| Thomas Hipp | 2018-02-19 |
* | refactor schemas•••* 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>
| Thomas Hipp | 2018-02-19 |
* | fix difference detection when using an existing bridge network•••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
| mluu | 2018-01-14 |
* | Update README's requirement section•••Add `mkisofs` to the list of requirements
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
| Flavio Castelli | 2018-01-14 |
* | Modify cloudinit to use 'mkisofs' instead of 'genisoimage'.•••genisoimage was debian's fork of mkisofs so the two are compatible, but
mkisofs is available on more OS' (e.g. macOS via brew).
| night199uk | 2018-01-14 |
* | fix network linke | Andrew Paxson | 2018-01-14 |
* | add an example for ubuntu•••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. | Andrew Paxson | 2018-01-14 |
* | spelling.... | Andrew Paxson | 2018-01-14 |
* | fix markdown spelling | Andrew Paxson | 2018-01-14 |
* | add the website docs to the README for visibility•••because the terraform website docs are not live lets put them on the front page. | Andrew Paxson | 2018-01-14 |
* | Merge pull request #264 from monstermunchkin/issues/262•••domain: honor arch, machine, and emulator settings | Thomas Hipp | 2017-12-28 |
|\ |
|
| * | domain: honor arch, machine, and emulator settings•••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>
| Thomas Hipp | 2017-12-22 |
|/ |
|
* | Add new method to get information on domain interfaces•••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
| Eamonn O'Toole | 2017-12-14 |
* | Merge pull request #258 from monstermunchkin/support-cdroms•••support local cdroms | Thomas Hipp | 2017-12-08 |
|\ |
|
| * | support local cdroms•••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>
| Thomas Hipp | 2017-12-01 |
* | | Merge pull request #256 from monstermunchkin/unique-volume-name•••check uniqueness of storage volume name | Thomas Hipp | 2017-12-08 |
|\ \ |
|
| * | | check uniqueness of storage volume name•••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>
| Thomas Hipp | 2017-11-29 |
* | | | Merge pull request #221 from simonswine/fixes-net-updates•••Make add/updateHost a bit more resilient | Thomas Hipp | 2017-12-08 |
|\ \ \
| |_|/
|/| | |
|
| * | | Make add/updateHost a bit more resilient•••* provide a updateOrAddHost method that first will try to update an
existing one, before adding a host entry
| Christian Simon | 2017-12-02 |
|/ / |
|
* | | Merge pull request #255 from MalloZup/remove-running•••remove running property in net and domain | Thomas Hipp | 2017-11-30 |
|\ \
| |/
|/| |
|
| * | remove running from documentation | Dario Maiocchi | 2017-11-28 |
| * | remove running property in net and domain | Dario Maiocchi | 2017-11-28 |
* | | Merge pull request #253 from monstermunchkin/test-formatting•••tests: format hcl strings | Thomas Hipp | 2017-11-28 |
|\ \
| |/
|/| |
|
| * | tests: format hcl strings•••Signed-off-by: Thomas Hipp <thipp@suse.de>
| Thomas Hipp | 2017-11-27 |
|/ |
|
* | Simplify the wait_for_leases mechanism | Alvaro Saurin | 2017-11-27 |
* | Retry the query about interfaces to the qemu-agent | Alvaro Saurin | 2017-11-27 |
* | adding documentation about network autostart | Dario Maiocchi | 2017-11-27 |
* | add test for autostart option | Dario Maiocchi | 2017-11-27 |
* | Init first backport | Dario Maiocchi | 2017-11-27 |
* | Merge pull request #242 from dmacvicar/kernel_initrd•••Add support for kernel/initrd/cmdline options | Duncan Mac-Vicar P | 2017-11-27 |
|\ |
|
| * | Typo | Duncan Mac-Vicar P | 2017-11-24 |