diff --git a/embed/terraform/modules/vm/vm.tf b/embed/terraform/modules/vm/vm.tf index e43b9d4c..d26696e1 100644 --- a/embed/terraform/modules/vm/vm.tf +++ b/embed/terraform/modules/vm/vm.tf @@ -83,7 +83,7 @@ resource "libvirt_domain" "vm_domain" { cloudinit = libvirt_cloudinit_disk.cloud_init.id - qemu_agent = true + qemu_agent = (var.network_mode == "bridge") # Network configuration # network_interface {