mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 15:35:51 +03:00
[PR #510] fix: guest qemu create wont load config correctly #515
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#515
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Telmate/proxmox-api-go/pull/510
Author: @NemoDacremont
Created: 10/31/2025
Status: 🔄 Open
Base:
master← Head:fix/506📝 Commits (2)
702122cfix: guest qemu create wont load config correctlybe3d94aclean: remove vmr assignation to pass staticcheck📊 Changes
1 file changed (+23 additions, -21 deletions)
View changed files
📝
cli/command/create/guest/create-guest.go(+23 -21)📄 Description
I don't really know what was going on in this file, and feel like things are done weirdly, however the command will work at least with this config.
I feel like the code was commented out and a workaround was added to make it work, however there were several reasons why it could not work, first because the node was not set and second because the vmid was not set.
I think this patch is not better than a workaround, I set the node but it was already set before for the vmref. However I think it may be better to let it like that for now.
Test
Tested by running :
Tested with this config :
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.