diff --git a/proxmox.tf b/proxmox.tf index 3981b89..d120a4f 100644 --- a/proxmox.tf +++ b/proxmox.tf @@ -34,7 +34,7 @@ resource "proxmox_virtual_environment_file" "cloud_init_yaml" { #cloud-config users: - default - - name: testeuser + - name: ${var.proxmox_VM_username} groups: sudo shell: /bin/bash sudo: ALL=(ALL) NOPASSWD:ALL @@ -43,7 +43,7 @@ resource "proxmox_virtual_environment_file" "cloud_init_yaml" { chpasswd: list: | - testeuser:testepassword + ${var.proxmox_VM_username}:${var.proxmox_VM_password} expire: false package_update: true