From 628ca52fe842f9aa1775f8e36da4df3b0c2a186c Mon Sep 17 00:00:00 2001 From: Benedikt Penner Date: Sat, 14 Mar 2026 12:48:30 +0100 Subject: [PATCH] Add startup --- glusterfs/terraform/glusternode.tf | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/glusterfs/terraform/glusternode.tf b/glusterfs/terraform/glusternode.tf index 0b2b6fc..74dc514 100644 --- a/glusterfs/terraform/glusternode.tf +++ b/glusterfs/terraform/glusternode.tf @@ -15,8 +15,8 @@ resource "proxmox_vm_qemu" "cloudinit-test1" { os_type = "cloud-init" cpu { - cores = 2 - sockets = 1 + cores = 4 + sockets = 2 type = "host" } memory = 4096 @@ -55,6 +55,13 @@ resource "proxmox_vm_qemu" "cloudinit-test1" { type = "virtio" } + + startup_shutdown { + order = -1 + shutdown_timeout = -1 + startup_delay = -1 + } + # Setup the ip address using cloud-init. boot = "order=scsi0" # Keep in mind to use the CIDR notation for the ip.