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:
@ -162,12 +162,6 @@ resource "proxmox_virtual_environment_vm" "k8s_vms" {
|
||||
size = each.value.disk_size
|
||||
interface = "scsi1"
|
||||
}
|
||||
disk {
|
||||
datastore_id = "local-snippets"
|
||||
file_id = proxmox_virtual_environment_file.vm_user_data[each.key].id
|
||||
interface = "ide2"
|
||||
file_format = "raw"
|
||||
}
|
||||
|
||||
clone {
|
||||
vm_id = proxmox_virtual_environment_vm.proxmox-kubernetes-VM-template.id
|
||||
@ -192,6 +186,9 @@ initialization {
|
||||
user_data_file_id = proxmox_virtual_environment_file.vm_user_data[each.key].id
|
||||
}
|
||||
|
||||
customization {
|
||||
cicustom = "user=local-snippets:snippets/cloud-init-iac-k8s-${each.key}.yaml"
|
||||
}
|
||||
|
||||
agent {
|
||||
enabled = true
|
||||
|
||||
Reference in New Issue
Block a user