aboutsummaryrefslogtreecommitdiff
path: root/docs/providers/libvirt
diff options
context:
space:
mode:
authorFlavio Castelli <fcastelli@suse.com>2016-06-29 10:34:03 +0200
committerFlavio Castelli <fcastelli@suse.com>2016-06-29 10:35:58 +0200
commit3cd474ad999ac39d4226e68b4110bda61bf552a9 (patch)
treee295dd959169ee552fc2903e21f0fca5d4bbef52 /docs/providers/libvirt
parentf03dcb69a75f331904b7a0255c2cc7717e553ce6 (diff)
downloadterraform-provider-libvirt-3cd474ad999ac39d4226e68b4110bda61bf552a9.tar
terraform-provider-libvirt-3cd474ad999ac39d4226e68b4110bda61bf552a9.tar.gz
Add cloudinit docs
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
Diffstat (limited to 'docs/providers/libvirt')
-rw-r--r--docs/providers/libvirt/r/cloudinit.html.markdown36
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/providers/libvirt/r/cloudinit.html.markdown b/docs/providers/libvirt/r/cloudinit.html.markdown
new file mode 100644
index 00000000..4658fb2c
--- /dev/null
+++ b/docs/providers/libvirt/r/cloudinit.html.markdown
@@ -0,0 +1,36 @@
+---
+layout: "libvirt"
+page_title: "Libvirt: libvirt_cloudinit"
+sidebar_current: "docs-libvirt-cloudinit"
+description: |-
+ Manages a cloud-init ISO to attach to a domain
+---
+
+# libvirt\_cloudinit
+
+Manages a [cloud-init](http://cloudinit.readthedocs.io/) ISO disk that can be used to customize a Domain during 1st
+boot.
+
+## Example Usage
+
+```
+resource "libvirt_cloudinit" "commoninit" {
+ name = "commoninit.iso"
+ local_hostname = "node"
+}
+
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `name` - (Required) A unique name for the resource, required by libvirt.
+* `pool` - (Optional) The pool where the resource will be created.
+ If not given, the `default` pool will be used.
+* `local_hostname` - (Optional) If specified this is going to be the hostname of
+ the domain.
+* `ssh_authorized_key` - (Optional) A public ssh key that will be accepted by
+ the `root` user.
+
+Any change of the above fields will cause a new resource to be created.