mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 15:53:06 +00:00
Update proxmox.tf
This commit is contained in:
@ -34,7 +34,7 @@ resource "proxmox_virtual_environment_file" "cloud_init_yaml" {
|
|||||||
#cloud-config
|
#cloud-config
|
||||||
users:
|
users:
|
||||||
- default
|
- default
|
||||||
- name: testeuser
|
- name: ${var.proxmox_VM_username}
|
||||||
groups: sudo
|
groups: sudo
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||||
@ -43,7 +43,7 @@ resource "proxmox_virtual_environment_file" "cloud_init_yaml" {
|
|||||||
|
|
||||||
chpasswd:
|
chpasswd:
|
||||||
list: |
|
list: |
|
||||||
testeuser:testepassword
|
${var.proxmox_VM_username}:${var.proxmox_VM_password}
|
||||||
expire: false
|
expire: false
|
||||||
|
|
||||||
package_update: true
|
package_update: true
|
||||||
|
|||||||
Reference in New Issue
Block a user