diff options
author | Sam Batschelet <samb@endpoint.com> | 2017-09-06 07:30:19 -0400 |
---|---|---|
committer | Flavio Castelli <flavio@castelli.me> | 2017-09-06 14:32:33 +0200 |
commit | 8367c0506c19ab7900f3540cd0e293f96472c179 (patch) | |
tree | 15e8b2d7fd27b89f06cb9a1c09585d1ee64616d0 /website | |
parent | 8460d878ef9a36864caa7be7bc0ae5a719d3eb90 (diff) | |
download | terraform-provider-libvirt-8367c0506c19ab7900f3540cd0e293f96472c179.tar terraform-provider-libvirt-8367c0506c19ab7900f3540cd0e293f96472c179.tar.gz |
domain: Improve documentation and add examples for BootDevice.
Diffstat (limited to 'website')
-rw-r--r-- | website/docs/r/domain.html.markdown | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/website/docs/r/domain.html.markdown b/website/docs/r/domain.html.markdown index 994e5bfe..05838907 100644 --- a/website/docs/r/domain.html.markdown +++ b/website/docs/r/domain.html.markdown @@ -55,7 +55,8 @@ The following arguments are supported: * `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 -* `boot_device` - (Optional) A list of devices (dev) which sets boot order +* `boot_device` - (Optional) A list of devices (dev) which defines boot order. Example + [below](#define-boot-device-order). ### UEFI images @@ -406,6 +407,16 @@ tmp /host/tmp 9p trans=virtio,version=9p2000.L,rw 0 0 proc /host/proc 9p trans=virtio,version=9p2000.L,r 0 0 ``` +### Define Boot Device Order + +Set hd as default and fallback to network. + +```hcl +boot_devices { + dev = [ "hd", "network"] +} +``` + ## Attributes Reference * `id` - a unique identifier for the resource. |