[GH-ISSUE #149] Force delete LXC is not exposed #37

Open
opened 2026-03-03 15:29:48 +03:00 by kerem · 0 comments
Owner

Originally created by @adyanth on GitHub (May 30, 2024).
Original GitHub issue: https://github.com/luthermonson/go-proxmox/issues/149

While deleting a container, there is a force option that allows a deletion even if the container is running. Please expose this to the Delete() function

https://github.com/luthermonson/go-proxmox/blob/main/containers.go#L32

Reference:
https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/lxc/{vmid}

Originally created by @adyanth on GitHub (May 30, 2024). Original GitHub issue: https://github.com/luthermonson/go-proxmox/issues/149 While deleting a container, there is a force option that allows a deletion even if the container is running. Please expose this to the `Delete()` function https://github.com/luthermonson/go-proxmox/blob/main/containers.go#L32 Reference: https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/lxc/{vmid}
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#37
No description provided.