From 1c6d51b1e54e0173fbb5a3a7313882e418079efd Mon Sep 17 00:00:00 2001
From: James Arcus <jimbo@ucc.asn.au>
Date: Mon, 13 Jan 2025 19:45:57 +0800
Subject: [PATCH] Add newly-required config

---
 main.tf | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/main.tf b/main.tf
index 7c12a9d..403ed5c 100644
--- a/main.tf
+++ b/main.tf
@@ -38,7 +38,7 @@ resource "proxmox_vm_qemu" "membervm_nogui" {
   clone = "memberVM-nogui-template"
 
   agent = 1
-  cpu = "x86-64-v2-AES"
+  cpu_type = "x86-64-v2-AES"
   scsihw = "virtio-scsi-pci"
   boot = "order=scsi0"
   ipconfig0 = "ip=dhcp,ip6=auto"
@@ -68,6 +68,11 @@ resource "proxmox_vm_qemu" "membervm_nogui" {
     tag = 4
   }
 
+  serial {
+    id = 0
+    type = "socket"
+  }
+
   # Always the same, regardless of the template chosen
   os_type = "cloud-init"
   pool = "Member-VMs-Auto"
-- 
GitLab