[PR #390] [MERGED] feat: specify target disk format upon clone #434

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

📋 Pull Request Information

Original PR: https://github.com/Telmate/proxmox-api-go/pull/390
Author: @nE0sIghT
Created: 12/24/2024
Status: Merged
Merged: 2/2/2025
Merged by: @Tinyblargon

Base: masterHead: clone-format


📝 Commits (1)

  • 425f7f5 feat: specify target disk format upon clone

📊 Changes

1 file changed (+11 additions, -2 deletions)

View changed files

📝 proxmox/config_qemu.go (+11 -2)

📄 Description

In case source VM disk format doesn't equal to target VM disk format Proxmox will fail to start cloned VM with the error kvm: -drive file=<SPEC>: Image is not in TARGET_FORMAT format.

Let's use format API parameter to fix this issue.


🔄 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/390 **Author:** [@nE0sIghT](https://github.com/nE0sIghT) **Created:** 12/24/2024 **Status:** ✅ Merged **Merged:** 2/2/2025 **Merged by:** [@Tinyblargon](https://github.com/Tinyblargon) **Base:** `master` ← **Head:** `clone-format` --- ### 📝 Commits (1) - [`425f7f5`](https://github.com/Telmate/proxmox-api-go/commit/425f7f5f3e6cf3dacbce0f5f55bf355e661e3d1a) feat: specify target disk format upon clone ### 📊 Changes **1 file changed** (+11 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `proxmox/config_qemu.go` (+11 -2) </details> ### 📄 Description In case source VM disk format doesn't equal to target VM disk format Proxmox will fail to start cloned VM with the error `kvm: -drive file=<SPEC>: Image is not in TARGET_FORMAT format`. Let's use `format` API parameter to fix this issue. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:42:11 +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#434
No description provided.