From 4d165b1838e4281d3a9847bc9a14d1ffe07a773c Mon Sep 17 00:00:00 2001 From: Dean Smith Date: Fri, 8 Sep 2017 12:49:37 +0100 Subject: 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. --- website/docs/r/domain.html.markdown | 1 + 1 file changed, 1 insertion(+) (limited to 'website') 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 -- cgit v1.2.3