aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hipp <thomashipp@gmail.com>2017-09-14 12:58:02 +0200
committerGitHub <noreply@github.com>2017-09-14 12:58:02 +0200
commit23635373aed10aab286a2436459670b686b581bb (patch)
treeef5caa18372579ed333df098841426941941dbf9
parenta605a9eb1332875feb9175563c7778d909ef5514 (diff)
parent64536dee765954c89f4194747e7f55730e26f70c (diff)
downloadterraform-provider-libvirt-23635373aed10aab286a2436459670b686b581bb.tar
terraform-provider-libvirt-23635373aed10aab286a2436459670b686b581bb.tar.gz
Merge pull request #181 from timhughes/fixes-boot_device-docs-and-example
fixes misspelling of boot_device in docs and example
-rw-r--r--examples/boot/libvirt.tf2
-rw-r--r--website/docs/r/domain.html.markdown14
2 files changed, 8 insertions, 8 deletions
diff --git a/examples/boot/libvirt.tf b/examples/boot/libvirt.tf
index 048b3a35..c4f074f9 100644
--- a/examples/boot/libvirt.tf
+++ b/examples/boot/libvirt.tf
@@ -20,7 +20,7 @@ resource "libvirt_domain" "domain-debian9-qcow2" {
bridge = "br0"
mac = "52:54:00:b2:2f:86"
}
- boot_devices {
+ boot_device {
dev = [ "hd", "network"]
}
disk {
diff --git a/website/docs/r/domain.html.markdown b/website/docs/r/domain.html.markdown
index 05838907..82b354b9 100644
--- a/website/docs/r/domain.html.markdown
+++ b/website/docs/r/domain.html.markdown
@@ -54,7 +54,7 @@ The following arguments are supported:
you normally won't need to set this unless you are building a special VM
* `machine` - (Optional) The machine type,
you normally won't need to set this unless you are running on a platform that
- defaults to the wrong machine type for your template
+ 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).
@@ -67,12 +67,12 @@ environment. Users should usually specify one of the standard _Open Virtual Mach
Firmware_ (_OVMF_) images available for their distributions. The file will be opened
read-only.
* `nvram` - (Optional) this block allows specifying the following attributes related to the _nvram_:
- * `file` - path to the file backing the NVRAM store for non-volatile variables. When provided,
- this file must be writable and specific to this domain, as it will be updated when running the
- domain. However, `libvirt` can manage this automatically (and this is the recommended solution)
+ * `file` - path to the file backing the NVRAM store for non-volatile variables. When provided,
+ this file must be writable and specific to this domain, as it will be updated when running the
+ domain. However, `libvirt` can manage this automatically (and this is the recommended solution)
if a mapping for the firmware to a _variables file_ exists in `/etc/libvirt/qemu.conf:nvram`.
In that case, `libvirt` will copy that variables file into a file specific for this domain.
- * `template` - (Optional) path to the file used to override variables from the master NVRAM
+ * `template` - (Optional) path to the file used to override variables from the master NVRAM
store.
So you should typically use the firmware as this,
@@ -98,7 +98,7 @@ nvram = [
]
```
-In case you need (or want) to specify the path for the NVRAM store, the domain definition should
+In case you need (or want) to specify the path for the NVRAM store, the domain definition should
look like this:
```hcl
@@ -412,7 +412,7 @@ proc /host/proc 9p trans=virtio,version=9p2000.L,r 0 0
Set hd as default and fallback to network.
```hcl
-boot_devices {
+boot_device {
dev = [ "hd", "network"]
}
```