mirror of
https://github.com/tcude/vmware-to-proxmox-migration-script.git
synced 2026-04-26 08:05:52 +03:00
[PR #2] Add support for multiple disks, and add a prompt to re-use ova file #2
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vmware-to-proxmox-migration-script#2
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/tcude/vmware-to-proxmox-migration-script/pull/2
Author: @bstock84
Created: 3/9/2024
Status: 🔄 Open
Base:
main← Head:multi-disk-support-and-reuse-ova-option📝 Commits (2)
4ffebfcAdd support for multiple disks, and add a prompt to re-use ova file6f20827Change 'break' to 'return'📊 Changes
1 file changed (+59 additions, -29 deletions)
View changed files
📝
linux_migration.sh(+59 -29)📄 Description
I've added support for multiple disks, the script can now loop through them and add them to the VM one-at-a-time. It will assume the first disk is the OS and will do the qemu-guest-agent install and boot flags only on that first disk.
I also added a loop to allow skipping the ova import if the file already exists. It shouldn't be needed when everything works, but if the user needs to modify something later in the script but the import already succeeded, it can save a lot of time.
I tested this successfully with VM's that contain only a single disk as well as multiple disks.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.