From 5c69abf9ffadd694100b55707ff1cfff893d185d Mon Sep 17 00:00:00 2001 From: MichaelFisher1997 Date: Sat, 28 Feb 2026 15:40:18 +0000 Subject: [PATCH 1/2] fix: disable automatic reboot for proxmox VM updates --- terraform/main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/terraform/main.tf b/terraform/main.tf index ef56dc3..4e97525 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -25,6 +25,7 @@ resource "proxmox_vm_qemu" "control_planes" { full_clone = true os_type = "cloud-init" agent = 1 + automatic_reboot = false cpu { sockets = 1 @@ -75,6 +76,7 @@ resource "proxmox_vm_qemu" "workers" { full_clone = true os_type = "cloud-init" agent = 1 + automatic_reboot = false cpu { sockets = 1 -- 2.49.1 From a99516a2a33bf362af1ed3cd755becc8d9e7eb3e Mon Sep 17 00:00:00 2001 From: MichaelFisher1997 Date: Sat, 28 Feb 2026 15:41:14 +0000 Subject: [PATCH 2/2] chore: format terraform configuration --- terraform/main.tf | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/terraform/main.tf b/terraform/main.tf index 4e97525..a7ca902 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -17,14 +17,14 @@ provider "proxmox" { } resource "proxmox_vm_qemu" "control_planes" { - count = var.control_plane_count - name = "cp-${count.index + 1}" - vmid = var.control_plane_vmid_start + count.index - target_node = var.target_node - clone = var.clone_template - full_clone = true - os_type = "cloud-init" - agent = 1 + count = var.control_plane_count + name = "cp-${count.index + 1}" + vmid = var.control_plane_vmid_start + count.index + target_node = var.target_node + clone = var.clone_template + full_clone = true + os_type = "cloud-init" + agent = 1 automatic_reboot = false cpu { @@ -68,14 +68,14 @@ resource "proxmox_vm_qemu" "control_planes" { resource "proxmox_vm_qemu" "workers" { - count = var.worker_count - name = "wk-${count.index + 1}" - vmid = var.worker_vmid_start + count.index - target_node = var.target_node - clone = var.clone_template - full_clone = true - os_type = "cloud-init" - agent = 1 + count = var.worker_count + name = "wk-${count.index + 1}" + vmid = var.worker_vmid_start + count.index + target_node = var.target_node + clone = var.clone_template + full_clone = true + os_type = "cloud-init" + agent = 1 automatic_reboot = false cpu { -- 2.49.1