0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-08-25 12:55:41 +00:00

Merge branch 'main' into fix-re-creation-of-imported-disks

This commit is contained in:
Pavel Boldyrev 2025-08-18 22:37:58 -04:00 committed by GitHub
commit b18f5f6d92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 19 additions and 29 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.25.0@sha256:9e56f0d0f043a68bb8c47c819e47dc29f6e8f5129b8885bed9d43f058f7f3ed6 FROM golang:1.25.0@sha256:91e2cd436f7adbfad0a0cbb7bf8502fa863ed8461414ceebe36c6304731e0fd9
ARG GOLANGCI_LINT_VERSION=2.4.0 # renovate: depName=golangci/golangci-lint datasource=github-releases ARG GOLANGCI_LINT_VERSION=2.4.0 # renovate: depName=golangci/golangci-lint datasource=github-releases

View File

@ -10,8 +10,6 @@ description: |-
## Download a public cloud image from URL ## Download a public cloud image from URL
Proxmox does not natively support QCOW2 images, but provider can do the conversion for you.
Example of how to create a CentOS 8 VM from a "generic cloud" `qcow2` image. CentOS 8 images are available at [cloud.centos.org](https://cloud.centos.org/centos/8-stream/x86_64/images/): Example of how to create a CentOS 8 VM from a "generic cloud" `qcow2` image. CentOS 8 images are available at [cloud.centos.org](https://cloud.centos.org/centos/8-stream/x86_64/images/):
```terraform ```terraform
@ -86,8 +84,6 @@ resource "proxmox_virtual_environment_download_file" "ubuntu_cloud_image" {
} }
``` ```
For [large images](https://registry.terraform.io/providers/bpg/proxmox/latest/docs/resources/virtual_environment_file#important-notes), you may want to use a dedicated temporary directory [configured](https://registry.terraform.io/providers/bpg/proxmox/latest/docs#tmp_dir) for provider via `tmp_dir` attribute, instead of system's default temporary directory. This is especially useful if you are deploying from a container with limited disk space.
## Create a VM from an existing image on Proxmox ## Create a VM from an existing image on Proxmox
If you already have a cloud image on Proxmox, you can use it to create a VM: If you already have a cloud image on Proxmox, you can use it to create a VM:

View File

@ -12,8 +12,6 @@ Use the navigation to the left to read about the available resources.
## Table of Contents ## Table of Contents
- [Proxmox Provider](#proxmox-provider)
- [Table of Contents](#table-of-contents)
- [Environment Variables Summary](#environment-variables-summary) - [Environment Variables Summary](#environment-variables-summary)
- [Example Usage](#example-usage) - [Example Usage](#example-usage)
- [Authentication](#authentication) - [Authentication](#authentication)

View File

@ -10,8 +10,6 @@ description: |-
## Download a public cloud image from URL ## Download a public cloud image from URL
Proxmox does not natively support QCOW2 images, but provider can do the conversion for you.
Example of how to create a CentOS 8 VM from a "generic cloud" `qcow2` image. CentOS 8 images are available at [cloud.centos.org](https://cloud.centos.org/centos/8-stream/x86_64/images/): Example of how to create a CentOS 8 VM from a "generic cloud" `qcow2` image. CentOS 8 images are available at [cloud.centos.org](https://cloud.centos.org/centos/8-stream/x86_64/images/):
{{ codefile "terraform" "examples/guides/cloud-image/centos-qcow2/main.tf" }} {{ codefile "terraform" "examples/guides/cloud-image/centos-qcow2/main.tf" }}
@ -20,8 +18,6 @@ Ubuntu cloud images are available at [cloud-images.ubuntu.com](https://cloud-ima
{{ codefile "terraform" "examples/guides/cloud-image/ubuntu-img/main.tf" }} {{ codefile "terraform" "examples/guides/cloud-image/ubuntu-img/main.tf" }}
For [large images](https://registry.terraform.io/providers/bpg/proxmox/latest/docs/resources/virtual_environment_file#important-notes), you may want to use a dedicated temporary directory [configured](https://registry.terraform.io/providers/bpg/proxmox/latest/docs#tmp_dir) for provider via `tmp_dir` attribute, instead of system's default temporary directory. This is especially useful if you are deploying from a container with limited disk space.
## Create a VM from an existing image on Proxmox ## Create a VM from an existing image on Proxmox
If you already have a cloud image on Proxmox, you can use it to create a VM: If you already have a cloud image on Proxmox, you can use it to create a VM: