[PR #122] [MERGED] feat: Add ConvertToTemplate method #161

Closed
opened 2026-03-03 15:30:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/luthermonson/go-proxmox/pull/122
Author: @alperencelik
Created: 2/26/2024
Status: Merged
Merged: 3/5/2024
Merged by: @luthermonson

Base: mainHead: main


📝 Commits (3)

  • f910ba6 feat: Add DeleteContent method for storage
  • 95711fd feat: Add ConvertToTemplate method
  • 17d93bf Merge branch 'luthermonson:main' into main

📊 Changes

1 file changed (+8 additions, -0 deletions)

View changed files

📝 virtual_machine.go (+8 -0)

📄 Description

This PR aims to have 'ConvertToTemplate' for VirtualMachine struct to enable VMs to be converted into templates via Proxmox API (/nodes/{node}/qemu/{vmid}/template).


🔄 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/luthermonson/go-proxmox/pull/122 **Author:** [@alperencelik](https://github.com/alperencelik) **Created:** 2/26/2024 **Status:** ✅ Merged **Merged:** 3/5/2024 **Merged by:** [@luthermonson](https://github.com/luthermonson) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`f910ba6`](https://github.com/luthermonson/go-proxmox/commit/f910ba6fa1215fbce631eda45ffab56f2bce4171) ✨feat: Add DeleteContent method for storage - [`95711fd`](https://github.com/luthermonson/go-proxmox/commit/95711fdcf1a6994fa6c583f70c7ff7a03a28b7bc) ✨feat: Add ConvertToTemplate method - [`17d93bf`](https://github.com/luthermonson/go-proxmox/commit/17d93bf2c51d90137d7c65549074986f98ffc872) Merge branch 'luthermonson:main' into main ### 📊 Changes **1 file changed** (+8 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `virtual_machine.go` (+8 -0) </details> ### 📄 Description This PR aims to have 'ConvertToTemplate' for VirtualMachine struct to enable VMs to be converted into templates via Proxmox API (/nodes/{node}/qemu/{vmid}/template). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 15:30:29 +03:00
Sign in to join this conversation.
No labels
pull-request
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/go-proxmox#161
No description provided.