diff options
author | Thomas Hipp <thomashipp@gmail.com> | 2017-12-08 13:28:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-08 13:28:08 +0100 |
commit | 8aa37bc03ce12e487d8a4d1ba9df56355da235ea (patch) | |
tree | 733d794a54d7f1fc68a3942636a9e18c4e1537aa /website/docs/r/domain.html.markdown | |
parent | 79ad36eed30a9664b31709b599d984f365060190 (diff) | |
parent | 9be42d2996fd6acd34b1bda8a4245d3aa7544135 (diff) | |
download | terraform-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.markdown | 8 |
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" + } } ``` |