[PR #99] [MERGED] Add support for LXC clone #147

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

📋 Pull Request Information

Original PR: https://github.com/luthermonson/go-proxmox/pull/99
Author: @alperencelik
Created: 10/25/2023
Status: Merged
Merged: 10/26/2023
Merged by: @luthermonson

Base: mainHead: main


📝 Commits (2)

  • 945f834 feat: Add support for LXC clone
  • 4affbb8 Fix: Check for negative IDs in clone params

📊 Changes

2 files changed (+35 additions, -0 deletions)

View changed files

📝 containers.go (+23 -0)
📝 types.go (+12 -0)

📄 Description

Hi,

I'm currently working on a Kubernetes operator for Proxmox and am impressed by the "go-proxmox" project. I realized that cloning an LXC is not implemented by the client so my PR tries to have an implementation of LXC cloning.

Here is the relevant API documentation on Proxmox:


🔄 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/99 **Author:** [@alperencelik](https://github.com/alperencelik) **Created:** 10/25/2023 **Status:** ✅ Merged **Merged:** 10/26/2023 **Merged by:** [@luthermonson](https://github.com/luthermonson) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`945f834`](https://github.com/luthermonson/go-proxmox/commit/945f8342cdd0a6bbbecfaf6c9c95771628e174b1) feat: Add support for LXC clone - [`4affbb8`](https://github.com/luthermonson/go-proxmox/commit/4affbb872469ff55926f79c14d282557f666529f) Fix: Check for negative IDs in clone params ### 📊 Changes **2 files changed** (+35 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `containers.go` (+23 -0) 📝 `types.go` (+12 -0) </details> ### 📄 Description Hi, I'm currently working on a Kubernetes operator for Proxmox and am impressed by the "go-proxmox" project. I realized that cloning an LXC is not implemented by the client so my PR tries to have an implementation of LXC cloning. Here is the relevant API documentation on [Proxmox](https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/lxc/{vmid}/clone): --- <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:25 +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#147
No description provided.