Initialized rocky linux 9 golden template

This commit is contained in:
2026-06-09 23:38:05 +02:00
parent fbcdea07b1
commit 9a5d89843c
4 changed files with 183 additions and 0 deletions

42
pve-vars.pkr.hcl Normal file
View File

@@ -0,0 +1,42 @@
variable "pve_api_url" {
description = "Proxmox API Endpoint"
type = string
sensitive = true
default = "https://prox-console.tail1ad20b.ts.net/api2/json"
}
variable "pve_token" {
description = "Proxmox API Token"
type = string
sensitive = true
}
variable "pve_username" {
description = "Proxmox API username, e.g. 'opentofu@pve!token'"
type = string
sensitive = true
}
variable "pve_node" {
type = string
default = "pve"
}
variable "ssh_username" {
description = "Image SSH username"
type = string
default = "rocky"
}
variable "ssh_private_key_file" {
description = "Path to private SSH key"
type = string
sensitive = true
default = "./id_ed25519_rocky"
}
variable "ssh_public_key_file" {
description = "Path to public SSH key"
type = string
default = "./id_ed25519_rocky.pub"
}