[PR #227] [MERGED] feat: Download ISO files #324

Closed
opened 2026-02-28 00:41:45 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Telmate/proxmox-api-go/pull/227
Author: @sebastian-de
Created: 1/11/2023
Status: Merged
Merged: 1/11/2023
Merged by: @mleone87

Base: masterHead: download-url


📝 Commits (2)

  • ef27c34 feat: Download ISO files
  • 684c815 feat: add CLI command for downloading ISO files

📊 Changes

5 files changed (+193 additions, -0 deletions)

View changed files

📝 cli/command/commands/commands.go (+1 -0)
cli/command/content/iso/download.go (+38 -0)
cli/command/content/iso/iso.go (+15 -0)
proxmox/content_iso.go (+56 -0)
proxmox/content_iso_test.go (+83 -0)

📄 Description

Inspired by Pull #224 I added functionality to download ISO files.
Proxmox API documentation: https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/storage/{storage}/download-url

A CLI command and integration tests were also added.
Tested successfully on a PVE 7.3

This will help to fix https://github.com/hashicorp/packer-plugin-proxmox/issues/79


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Telmate/proxmox-api-go/pull/227 **Author:** [@sebastian-de](https://github.com/sebastian-de) **Created:** 1/11/2023 **Status:** ✅ Merged **Merged:** 1/11/2023 **Merged by:** [@mleone87](https://github.com/mleone87) **Base:** `master` ← **Head:** `download-url` --- ### 📝 Commits (2) - [`ef27c34`](https://github.com/Telmate/proxmox-api-go/commit/ef27c3438f4e2a7acb9933c1f9acd84f7c96448f) feat: Download ISO files - [`684c815`](https://github.com/Telmate/proxmox-api-go/commit/684c815f306c29956212caf00b1672ba5a1649df) feat: add CLI command for downloading ISO files ### 📊 Changes **5 files changed** (+193 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cli/command/commands/commands.go` (+1 -0) ➕ `cli/command/content/iso/download.go` (+38 -0) ➕ `cli/command/content/iso/iso.go` (+15 -0) ➕ `proxmox/content_iso.go` (+56 -0) ➕ `proxmox/content_iso_test.go` (+83 -0) </details> ### 📄 Description Inspired by Pull #224 I added functionality to download ISO files. Proxmox API documentation: https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/storage/{storage}/download-url A CLI command and integration tests were also added. Tested successfully on a PVE 7.3 This will help to fix https://github.com/hashicorp/packer-plugin-proxmox/issues/79 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:41:45 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmox-api-go#324
No description provided.