diff options
author | Dean Smith <dean@zelotus.com> | 2017-09-08 12:49:37 +0100 |
---|---|---|
committer | Dean Smith <dean@zelotus.com> | 2017-09-19 18:17:24 +0100 |
commit | 4d165b1838e4281d3a9847bc9a14d1ffe07a773c (patch) | |
tree | 952ce7015ca20e955e6746f13764106a73fa4e0f /travis/run-tests-inside-guest | |
parent | a605a9eb1332875feb9175563c7778d909ef5514 (diff) | |
download | terraform-provider-libvirt-4d165b1838e4281d3a9847bc9a14d1ffe07a773c.tar terraform-provider-libvirt-4d165b1838e4281d3a9847bc9a14d1ffe07a773c.tar.gz |
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.
Diffstat (limited to 'travis/run-tests-inside-guest')
0 files changed, 0 insertions, 0 deletions