Skip to content

Commit

Permalink
Fix ip not leased when network mode is nat (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
MusicDin authored Jun 1, 2023
1 parent a0fd223 commit 207cb09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embed/terraform/modules/vm/vm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 207cb09

Please sign in to comment.