| Commit message (Collapse) | Author | Age |
|
|
|
| |
Fix linting error, ensure tests are actually run
|
|
|
|
|
|
|
|
| |
Deallocate the libvirt connect object before exit.
Fixes issue #266
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
|
|
|
|
| |
Signed-off-by: Thomas Hipp <thipp@suse.de>
|
|
|
|
| |
Signed-off-by: Thomas Hipp <thipp@suse.de>
|
|
|
|
| |
Signed-off-by: Thomas Hipp <thipp@suse.de>
|
|
|
|
| |
Signed-off-by: Thomas Hipp <thipp@suse.de>
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
genisoimage was debian's fork of mkisofs so the two are compatible, but
mkisofs is available on more OS' (e.g. macOS via brew).
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| | |
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>
|
|\ \
| | |
| | | |
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>
|
| |/
|/|
| |
| |
| | |
* provide a updateOrAddHost method that first will try to update an
existing one, before adding a host entry
|
|\ \
| |/
|/| |
remove running property in net and domain
|
| | |
|
|/
|
|
| |
Signed-off-by: Thomas Hipp <thipp@suse.de>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This fix is with the cmd "gofmt -w -s *"
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Use correct names in comments
|
| |
|
| |
|
|
|
|
| |
by other packages, and that stutters; consider calling this Network
|
|
|
|
| |
other packages, and that stutters; consider calling this Domain
|
| |
|