From 91ab092e7b63b7cdbdf41149c3aa7e78588ce8bb Mon Sep 17 00:00:00 2001 From: "n005char@gmail.com" Date: Tue, 5 May 2026 13:01:37 +0300 Subject: [PATCH] ssh key --- create-vm-ubuntu/main.tf | 2 +- create-vm-ubuntu/outputs.tf | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/create-vm-ubuntu/main.tf b/create-vm-ubuntu/main.tf index d50ddf5..317f316 100644 --- a/create-vm-ubuntu/main.tf +++ b/create-vm-ubuntu/main.tf @@ -20,7 +20,7 @@ resource "proxmox_virtual_environment_vm" "vm_ubuntu_iscsi" { user_account { username = "root" password = "rootroot" - keys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILLRRYg0z5DoKq+67DeZFUo+dOqz2GedGKHHjGHiMMNo dodin@ArthurDodin" + keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILLRRYg0z5DoKq+67DeZFUo+dOqz2GedGKHHjGHiMMNo dodin@ArthurDodin", "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID5KraX1jeWQb7Rq24fbEKDHdPcw5OV4FK5AdApv3lXU n005char@gmail.com"] } } diff --git a/create-vm-ubuntu/outputs.tf b/create-vm-ubuntu/outputs.tf index 0a38255..7953b1a 100644 --- a/create-vm-ubuntu/outputs.tf +++ b/create-vm-ubuntu/outputs.tf @@ -1,4 +1,4 @@ -output "vm_status" { - value = proxmox_virtual_environment_vm.vm_ubuntu_iscsi[*].all - description = "Les adresses IP de la VM créée" -} +# output "vm_status" { +# value = proxmox_virtual_environment_vm.vm_ubuntu_iscsi[*].all +# description = "Les adresses IP de la VM créée" +# }