summaryrefslogtreecommitdiff
path: root/website/docs/r/domain.html.markdown
diff options
context:
space:
mode:
authorThomas Hipp <thomashipp@gmail.com>2017-12-08 13:28:08 +0100
committerGitHub <noreply@github.com>2017-12-08 13:28:08 +0100
commit8aa37bc03ce12e487d8a4d1ba9df56355da235ea (patch)
tree733d794a54d7f1fc68a3942636a9e18c4e1537aa /website/docs/r/domain.html.markdown
parent79ad36eed30a9664b31709b599d984f365060190 (diff)
parent9be42d2996fd6acd34b1bda8a4245d3aa7544135 (diff)
downloadterraform-provider-libvirt-8aa37bc03ce12e487d8a4d1ba9df56355da235ea.tar
terraform-provider-libvirt-8aa37bc03ce12e487d8a4d1ba9df56355da235ea.tar.gz
Merge pull request #258 from monstermunchkin/support-cdroms
support local cdroms
Diffstat (limited to 'website/docs/r/domain.html.markdown')
-rw-r--r--website/docs/r/domain.html.markdown8
1 files changed, 6 insertions, 2 deletions
diff --git a/website/docs/r/domain.html.markdown b/website/docs/r/domain.html.markdown
index 01ed1fc3..ff9ab0a3 100644
--- a/website/docs/r/domain.html.markdown
+++ b/website/docs/r/domain.html.markdown
@@ -237,9 +237,9 @@ The `disk` block supports:
* `volume_id` - (Optional) The volume id to use for this disk.
* `url` - (Optional) The http url to use as the block device for this disk (read-only)
+* `file` - (Optional) The filename to use as the block device for this disk (read-only)
-While both `volume_id` and `url` are optional, it is intended that you use either a volume or a
-url.
+While `volume_id`, `url` and `file` are optional, it is intended that you use one of them.
* `scsi` - (Optional) Use a scsi controller for this disk. The controller
model is set to `virtio-scsi`
@@ -268,6 +268,10 @@ resource "libvirt_domain" "domain1" {
disk {
url = "http://foo.com/install.iso"
}
+
+ disk {
+ file = "/absolute/path/to/disk.iso"
+ }
}
```