diff options
author | Ravi Shekhar Jethani <rsjethani@gmail.com> | 2017-09-07 17:09:43 +0530 |
---|---|---|
committer | Flavio Castelli <flavio@castelli.me> | 2017-09-07 14:11:47 +0200 |
commit | a605a9eb1332875feb9175563c7778d909ef5514 (patch) | |
tree | 04e1fe9b3dceaaaff3c10226fedc2f49dbecb6a8 | |
parent | 8367c0506c19ab7900f3540cd0e293f96472c179 (diff) | |
download | terraform-provider-libvirt-a605a9eb1332875feb9175563c7778d909ef5514.tar terraform-provider-libvirt-a605a9eb1332875feb9175563c7778d909ef5514.tar.gz |
FIX graphics autoport setting in examples
The examples are using spice for display with autoport value as
`true`. This causes no connection to VM display. In fact
any value except "yes" makes autoport to be set to "no" in the
VM XML configuration.
-rw-r--r-- | examples/format/libvirt.tf | 2 | ||||
-rw-r--r-- | examples/uefi/libvirt.tf | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/format/libvirt.tf b/examples/format/libvirt.tf index e59f883f..a98fbde8 100644 --- a/examples/format/libvirt.tf +++ b/examples/format/libvirt.tf @@ -66,6 +66,6 @@ resource "libvirt_domain" "domain-debian8-qcow2" { graphics { type = "spice" listen_type = "address" - autoport = true + autoport = "yes" } } diff --git a/examples/uefi/libvirt.tf b/examples/uefi/libvirt.tf index 1419806f..548f48a0 100644 --- a/examples/uefi/libvirt.tf +++ b/examples/uefi/libvirt.tf @@ -33,6 +33,6 @@ resource "libvirt_domain" "domain" { graphics { type = "spice" listen_type = "address" - autoport = true + autoport = "yes" } |