From a605a9eb1332875feb9175563c7778d909ef5514 Mon Sep 17 00:00:00 2001 From: Ravi Shekhar Jethani Date: Thu, 7 Sep 2017 17:09:43 +0530 Subject: 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. --- examples/format/libvirt.tf | 2 +- examples/uefi/libvirt.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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" } -- cgit v1.2.3