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 /website | |
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 'website')
-rw-r--r-- | website/docs/r/domain.html.markdown | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/website/docs/r/domain.html.markdown b/website/docs/r/domain.html.markdown index 05838907..2fadfd64 100644 --- a/website/docs/r/domain.html.markdown +++ b/website/docs/r/domain.html.markdown @@ -57,6 +57,7 @@ The following arguments are supported: defaults to the wrong machine type for your template * `boot_device` - (Optional) A list of devices (dev) which defines boot order. Example [below](#define-boot-device-order). +* `emulator` - (Optional) The path of the emulator to use ### UEFI images |