[PR #2] Add support for multiple disks, and add a prompt to re-use ova file #2

Open
opened 2026-02-28 00:20:25 +03:00 by kerem · 0 comments
Owner

📋 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: mainHead: multi-disk-support-and-reuse-ova-option


📝 Commits (2)

  • 4ffebfc Add support for multiple disks, and add a prompt to re-use ova file
  • 6f20827 Change '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.

## 📋 Pull Request Information **Original PR:** https://github.com/tcude/vmware-to-proxmox-migration-script/pull/2 **Author:** [@bstock84](https://github.com/bstock84) **Created:** 3/9/2024 **Status:** 🔄 Open **Base:** `main` ← **Head:** `multi-disk-support-and-reuse-ova-option` --- ### 📝 Commits (2) - [`4ffebfc`](https://github.com/tcude/vmware-to-proxmox-migration-script/commit/4ffebfc5da27fd2a3b295d124e7f2e9a3c42bb17) Add support for multiple disks, and add a prompt to re-use ova file - [`6f20827`](https://github.com/tcude/vmware-to-proxmox-migration-script/commit/6f208277ddde16717d81b4ccf1f86f900dc25a02) Change 'break' to 'return' ### 📊 Changes **1 file changed** (+59 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `linux_migration.sh` (+59 -29) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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/vmware-to-proxmox-migration-script#2
No description provided.