From b321a01b4f142d55afef53eca20c1b183386bc84 Mon Sep 17 00:00:00 2001 From: Pavel Boldyrev <627562+bpg@users.noreply.github.com> Date: Mon, 18 Aug 2025 22:34:52 -0400 Subject: [PATCH 1/2] chore(docs): fix TOC format, cleanup cloud image guide (#2121) Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> --- docs/guides/cloud-image.md | 4 --- docs/index.md | 38 +++++++++++++--------------- templates/guides/cloud-image.md.tmpl | 4 --- 3 files changed, 18 insertions(+), 28 deletions(-) diff --git a/docs/guides/cloud-image.md b/docs/guides/cloud-image.md index e6384534..62a71382 100644 --- a/docs/guides/cloud-image.md +++ b/docs/guides/cloud-image.md @@ -10,8 +10,6 @@ description: |- ## 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/): ```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 If you already have a cloud image on Proxmox, you can use it to create a VM: diff --git a/docs/index.md b/docs/index.md index a9482315..d30cde8a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -12,26 +12,24 @@ Use the navigation to the left to read about the available resources. ## Table of Contents -- [Proxmox Provider](#proxmox-provider) - - [Table of Contents](#table-of-contents) - - [Environment Variables Summary](#environment-variables-summary) - - [Example Usage](#example-usage) - - [Authentication](#authentication) - - [Authentication Methods Comparison](#authentication-methods-comparison) - - [Static Credentials Examples](#static-credentials-examples) - - [Security Best Practices](#security-best-practices) - - [Environment variables](#environment-variables) - - [API Token Authentication](#api-token-authentication) - - [Pre-Authentication, or Passing an Authentication Ticket into the provider](#pre-authentication-or-passing-an-authentication-ticket-into-the-provider) - - [SSH Connection](#ssh-connection) - - [SSH Agent](#ssh-agent) - - [SSH Private Key](#ssh-private-key) - - [SSH User](#ssh-user) - - [Node IP address used for SSH connection](#node-ip-address-used-for-ssh-connection) - - [SSH Connection via SOCKS5 Proxy](#ssh-connection-via-socks5-proxy) - - [VM and Container ID Assignment](#vm-and-container-id-assignment) - - [Temporary Directory](#temporary-directory) - - [Argument Reference](#argument-reference) +- [Environment Variables Summary](#environment-variables-summary) +- [Example Usage](#example-usage) +- [Authentication](#authentication) + - [Authentication Methods Comparison](#authentication-methods-comparison) + - [Static Credentials Examples](#static-credentials-examples) + - [Security Best Practices](#security-best-practices) + - [Environment variables](#environment-variables) + - [API Token Authentication](#api-token-authentication) + - [Pre-Authentication, or Passing an Authentication Ticket into the provider](#pre-authentication-or-passing-an-authentication-ticket-into-the-provider) +- [SSH Connection](#ssh-connection) + - [SSH Agent](#ssh-agent) + - [SSH Private Key](#ssh-private-key) + - [SSH User](#ssh-user) + - [Node IP address used for SSH connection](#node-ip-address-used-for-ssh-connection) + - [SSH Connection via SOCKS5 Proxy](#ssh-connection-via-socks5-proxy) +- [VM and Container ID Assignment](#vm-and-container-id-assignment) +- [Temporary Directory](#temporary-directory) +- [Argument Reference](#argument-reference) ## Environment Variables Summary diff --git a/templates/guides/cloud-image.md.tmpl b/templates/guides/cloud-image.md.tmpl index 8d49d064..ac8404c3 100644 --- a/templates/guides/cloud-image.md.tmpl +++ b/templates/guides/cloud-image.md.tmpl @@ -10,8 +10,6 @@ description: |- ## 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/): {{ 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" }} -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 If you already have a cloud image on Proxmox, you can use it to create a VM: From 9d179dde724604d3b2f297fd805c7c2cb8f723b4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 19 Aug 2025 02:35:54 +0000 Subject: [PATCH 2/2] =?UTF-8?q?chore(deps):=20update=20image=20golang=20(9?= =?UTF-8?q?e56f0d=20=E2=86=92=2091e2cd4)=20(#2123)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .devcontainer/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 625bcd04..c7c1a852 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -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