Skip to content

Instantly share code, notes, and snippets.

@mkoert
Created February 12, 2026 20:53
Show Gist options
  • Select an option

  • Save mkoert/a14d7ec9f76c4fd5a85f0ffac532c9e4 to your computer and use it in GitHub Desktop.

Select an option

Save mkoert/a14d7ec9f76c4fd5a85f0ffac532c9e4 to your computer and use it in GitHub Desktop.
resource "proxmox_vm_qemu" "k8s_worker_04" {
provider = proxmox.pve00
target_node = "pve-bm-04"
name = "k8s-worker-04"
vmid = 154
clone = "packer-ubuntu2404"
full_clone = true
cores = 3
sockets = 1
memory = 5632
bios = "seabios"
boot = "order=scsi0"
scsihw = "virtio-scsi-pci"
network {
id = 0
bridge = "vmbr0"
model = "virtio"
}
disks {
scsi {
scsi0 {
disk {
storage = "local-lvm"
size = 20
}
}
}
ide {
ide2 {
cloudinit {
storage = "local-lvm"
}
}
}
}
agent = 1
ipconfig0 = "ip=${var.vm_ips[4]}/24,gw=192.168.99.1"
nameserver = "8.8.8.8 8.8.4.4"
sshkeys = file("~/.ssh/id_rsa.pub")
ciuser = "ubuntu"
cipassword = "ubuntu"
onboot = true
startup = ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment