summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Moioli <smoioli@suse.de>2017-10-17 10:15:35 +0200
committerFlavio Castelli <flavio@castelli.me>2017-10-17 12:03:32 +0200
commit4907902bc70d82681d6f116f4095d7b84af503ca (patch)
tree129c4aeb6c42476a4e64671b1623104bb36f8499
parentc034dc8e65b815ac49e1e7d90bf14ac346425529 (diff)
downloadterraform-provider-libvirt-4907902bc70d82681d6f116f4095d7b84af503ca.tar
terraform-provider-libvirt-4907902bc70d82681d6f116f4095d7b84af503ca.tar.gz
Bugfix: let libvirt populate channel source
Current behavior is to set the source path to empty string, which blocks the Guest Agent from working correctly.
-rw-r--r--libvirt/domain_def.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/libvirt/domain_def.go b/libvirt/domain_def.go
index 1ade1f5a..85004051 100644
--- a/libvirt/domain_def.go
+++ b/libvirt/domain_def.go
@@ -44,9 +44,6 @@ func newDomainDef() libvirtxml.Domain {
Channels: []libvirtxml.DomainChannel{
libvirtxml.DomainChannel{
Type: "unix",
- Source: &libvirtxml.DomainChardevSource{
- Mode: "bind",
- },
Target: &libvirtxml.DomainChannelTarget{
Type: "virtio",
Name: "org.qemu.guest_agent.0",