mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 15:53:06 +00:00
Merge pull request 'Update proxmox.tf' (#203) from fenix-admin into main
Reviewed-on: fenix-gitea-admin/iac-teste#203
This commit is contained in:
12
proxmox.tf
12
proxmox.tf
@ -162,6 +162,12 @@ 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
|
||||
@ -176,12 +182,6 @@ initialization {
|
||||
address = "dhcp"
|
||||
}
|
||||
}
|
||||
disk {
|
||||
datastore_id = "local-snippets"
|
||||
file_id = proxmox_virtual_environment_file.vm_user_data[each.key].id
|
||||
interface = "ide2"
|
||||
file_format = "raw"
|
||||
}
|
||||
# ip_config {
|
||||
# ipv4 {
|
||||
# address = each.value.ip
|
||||
|
||||
Reference in New Issue
Block a user