lab #1

Merged
Vezpi merged 8 commits from lab into main 2026-02-05 21:08:37 +01:00
2 changed files with 15 additions and 2 deletions
Showing only changes of commit b028018d7e - Show all commits

View File

@@ -12,7 +12,8 @@ provider "proxmox" {
insecure = false insecure = false
ssh { ssh {
agent = false agent = false
private_key = file("~/.ssh/id_ed25519") # private_key = file("~/.ssh/id_ed25519")
username = "root" username = var.proxmox_ssh_username
password = var.proxmox_ssh_password
} }
} }

View File

@@ -7,4 +7,16 @@ variable "proxmox_api_token" {
description = "Proxmox API token" description = "Proxmox API token"
type = string type = string
sensitive = true sensitive = true
}
variable "proxmox_ssh_username" {
description = "Proxmox SSH username"
type = string
sensitive = true
}
variable "proxmox_ssh_password" {
description = "Proxmox SSH password"
type = string
sensitive = true
} }