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:
@ -16,18 +16,18 @@ provider "proxmox" {
|
||||
}
|
||||
|
||||
|
||||
resource "proxmox_virtual_environment_download_file" "latest_fedora_cloud_img" {
|
||||
resource "proxmox_virtual_environment_download_file" "latest_ubunto_cloud_img" {
|
||||
content_type = "import"
|
||||
datastore_id = "local-snippets"
|
||||
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"
|
||||
url = "https://cloud-images.ubuntu.com/jammy/20250619/jammy-server-cloudimg-amd64.img"
|
||||
# need to rename the file to *.qcow2 to indicate the actual file format for import
|
||||
file_name = "Fedora-Cloud-Base-Generic-42.qcow2"
|
||||
file_name = "jammy-server-cloudimg-amd64.img"
|
||||
}
|
||||
|
||||
resource "proxmox_virtual_environment_vm" "proxmox-kubernetes-VM-template" {
|
||||
|
||||
depends_on = [proxmox_virtual_environment_download_file.latest_fedora_cloud_img]
|
||||
depends_on = [proxmox_virtual_environment_download_file.latest_ubunto_cloud_img]
|
||||
name = "proxmox-kubernetes-VM-template"
|
||||
node_name = "fenix"
|
||||
vm_id = 1002
|
||||
|
||||
Reference in New Issue
Block a user