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' (#100) from fenix-admin into main
Reviewed-on: fenix-gitea-admin/iac-teste#100
This commit is contained in:
@ -21,7 +21,7 @@ resource "proxmox_virtual_environment_download_file" "latest_ubunto_cloud_img" {
|
||||
datastore_id = "local"
|
||||
node_name = "fenix"
|
||||
url = "https://mirror.i3d.net/pub/fedora/linux/releases/42/Cloud/x86_64/images/Fedora-Cloud-Base-Generic-42-1.1.x86_64.qcow2"
|
||||
file_name = "FedoraCloudBaseGeneric42.img"
|
||||
file_name = "FedoraCloudBaseGeneric42.qcow2"
|
||||
}
|
||||
|
||||
resource "proxmox_virtual_environment_vm" "proxmox-kubernetes-VM-template" {
|
||||
@ -59,8 +59,9 @@ resource "proxmox_virtual_environment_vm" "proxmox-kubernetes-VM-template" {
|
||||
|
||||
disk {
|
||||
datastore_id = "local-lvm"
|
||||
import_from = proxmox_virtual_environment_download_file.latest_ubunto_cloud_img.id
|
||||
file_id = proxmox_virtual_environment_download_file.latest_ubunto_cloud_img.id
|
||||
interface = "scsi1"
|
||||
file_format = "qcow2"
|
||||
}
|
||||
|
||||
# Configuração da interface de rede
|
||||
|
||||
Reference in New Issue
Block a user