Initialized rocky linux 9 golden template
This commit is contained in:
42
pve-vars.pkr.hcl
Normal file
42
pve-vars.pkr.hcl
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user