diff --git a/proxmox/templates/debian_bullseye.json b/proxmox/templates/debian_bullseye.json --- a/proxmox/templates/debian_bullseye.json +++ b/proxmox/templates/debian_bullseye.json @@ -22,7 +22,7 @@ "username": "{{ user `username` }}", "password": "{{ user `password` }}", "node": "{{ user `proxmox_node` }}", - "vm_id": 10005, + "vm_id": 10006, "memory": 1024, "sockets": "1", "cores": 2, @@ -45,8 +45,8 @@ "cloud_init": "true", "cloud_init_storage_pool": "proxmox", - "iso_url": "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.0.0-amd64-netinst.iso", - "iso_checksum": "ae6d563d2444665316901fe7091059ac34b8f67ba30f9159f7cef7d2fdc5bf8a", + "iso_url": "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.2.0-amd64-netinst.iso", + "iso_checksum": "45c9feabba213bdc6d72e7469de71ea5aeff73faea6bfb109ab5bad37c3b43bd", "iso_storage_pool": "proxmox-cephfs", "unmount_iso": "true", @@ -86,7 +86,7 @@ "ssh_timeout": "15m", "ssh_password": "installer", - "template_name": "debian-bullseye-11.0-{{ user `template-suffix` }}", + "template_name": "debian-bullseye-11.2-{{ user `template-suffix` }}", "template_description": "debian bullseye, generated on {{ user `template-date` }}" } ], diff --git a/proxmox/terraform/admin/admin.tf b/proxmox/terraform/admin/admin.tf --- a/proxmox/terraform/admin/admin.tf +++ b/proxmox/terraform/admin/admin.tf @@ -56,3 +56,25 @@ bridge = local.config["vlan"] }] } + + +module "grafana0" { + source = "../modules/node" + config = local.config + + template = "debian-bullseye-11.2-2022-01-03" + hostname = "grafana0" + description = "Grafana server" + hypervisor = "branly" + vmid = 108 + cores = 4 + memory = 8192 + balloon = 4096 + networks = [{ + id = 0 + ip = "192.168.50.30" + gateway = local.config["gateway_ip"] + macaddr = "" + bridge = local.config["vlan"] + }] +}