Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: specify target disk format upon clone #390

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nE0sIghT
Copy link

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.

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.

Signed-off-by: Yuri Konotopov <[email protected]>
@Tinyblargon Tinyblargon added type/enhancement An improvement of existing functionality modifies/go Pull requests that update Go code size/S Denotes a PR that changes 10-29 lines, ignoring generated files test/needen This PR has to be tested labels Jan 14, 2025
@Tinyblargon
Copy link
Collaborator

@nE0sIghT Thank you for your contribution, I'll try to test the change in the coming days.

@Tinyblargon Tinyblargon self-assigned this Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modifies/go Pull requests that update Go code size/S Denotes a PR that changes 10-29 lines, ignoring generated files test/needen This PR has to be tested type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants