| Commit message (Collapse) | Author | Age |
... | |
|\ \
| |/
|/| |
ligthen process with makefile
|
| | |
|
| | |
|
| |
| |
| |
| | |
It can be mandatory later with govet when all issues are fixed
|
|/ |
|
|\
| |
| | |
fix travis
|
|/
|
|
|
|
| |
This fixes #222.
Signed-off-by: Thomas Hipp <thipp@suse.de>
|
|\
| |
| | |
Fix libvirt ovmf firmware integration test on non-Ubuntu
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
On SUSE systems, these paths are different.
In order to reuse the code that looks for the right files, we
make the template and no-template case sub-tests of the main test
containing the lookup code.
Also, if the files are not there, skip the test.
|
|\ \
| | |
| | | |
Readme layout improvements
|
| | |
| | |
| | |
| | | |
Create minimal howtocontribute
|
| | |
| | |
| | |
| | | |
add some basic comments for exported function(fixing golint)
|
|\ \ \
| |/ /
|/| | |
Use the right markdown for doc
|
|/ / |
|
| | |
|
| | |
|
|\ \
| |/
|/| |
Google terraform link has changed: update link
|
|/ |
|
| |
|
|
|
|
|
| |
Added also the lists of authors, and adding a troubleshooting.
Libvirt-devel is required
|
|
|
| |
Current behavior is to set the source path to empty string, which blocks the Guest Agent from working correctly.
|
|
|
|
|
|
|
| |
Make sure people install latest stable version of Go to build
the project.
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This updates Terraform to the latest version. Travis will build with
go1.9 from now on, since Terraform > 0.10.2 doesn't support go1.8.
Glide was run with `--strip-vendor` which removes a lot of unnecessary
files.
Tests and Docs regarding `ignition` have been updated.
This resolves #194.
Signed-off-by: Thomas Hipp <thipp@suse.de>
|
|\
| |
| | |
Full support for arch,machine & emulator settings
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
Remove redundant hostname check
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently while creating domain we are checking whether hostname
has been set or not. But from the code it's clear that hostname
will _always_ be set. Hostname will be set to domain name by default
which maybe overridden via the optional hostname attribute of the
network interface definition.
Hence removing the unnecessary check.
|
|\ \
| | |
| | | |
FIX waitForLeases invalid key issue
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We are modifying network interface object after adding it as key to
waitForLeases map. This makes the interface object stored in the key
invalid when it is used in functions like hasNetworkAddress() later.
As a result of this the code does not wait for the interface to get
the lease even after specifying `wait_for_lease = true` in the tf
file.
To fix this we move the code to add interface struct object to
waitForLeases map only after all modifications are done i.e. near
to the end of for loop.
|
|\ \ \
| | | |
| | | | |
vendor: update deps
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
This updates all vendored packages. The Glide config has been changed to
try and stick to versions instead of commit IDs if possible.
Signed-off-by: Thomas Hipp <thipp@suse.de>
|
|/ /
| |
| |
| | |
Travis needs to checkout to a vanity path
|
|\ \
| |/
|/| |
fixes misspelling of boot_device in docs and example
|
|/ |
|
|
|
|
|
|
|
| |
The examples are using spice for display with autoport value as
`true`. This causes no connection to VM display. In fact
any value except "yes" makes autoport to be set to "no" in the
VM XML configuration.
|
| |
|
| |
|
|\
| |
| | |
Adding tests for machine and arch domain attributes from #166
|
| | |
|
|\|
| |
| | |
Adding support for arch and machine type
|
|/
|
|
|
|
| |
This adds support for setting the architecture and machine type
of the created virtual machine by adding two new attributes
machine and arch to the domain definition
|
|\
| |
| | |
Ensure libvirt stream are cleaned up properly
|
|/
|
|
| |
We have to `free()` the stream once they are no longer used.
|
|
|
|
| |
Signed-off-by: Thomas Hipp <thipp@suse.de>
|
|\
| |
| | |
Fix string format of network addresses
|
|/
|
|
|
|
|
| |
Network addresses when trying to format the prefix as an int,
while it is a string
Fixes: #160
|
|\
| |
| | |
fix XML name of DHCP host element
|