vexxhost / vexxhost/migratekit
Cannot migrate VM with multi boot - add "--root" option
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 138
- Forks
- 40
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
Hello,
If a VM has several boot options, Virt_v2v defaults the "--root" option to "ask".
Since the program is not run in an interactive shell, virt_v2v exits with an error.
`Dual- or multi-boot operating system detected. Choose the root filesystem
that contains the main operating system from the list below:
[1] /dev/sys1/rootfs (Red Hat Enterprise Linux 9.2 (Plow))
[2] /dev/sys2/rootfs (Red Hat Enterprise Linux 9.2 (Plow))
Enter a number between 1 and 2, or ‘exit’: virt-v2v-in-place: error: exception: End_of_file`
Would it be possible to add the "--root" argument to the cutover command?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the cutover command and locate where it invokes virt-v2v. Trace how command-line options are defined and forwarded, then verify that --root is accepted and reaches virt-v2v so a multi-boot migration can run without an interactive prompt.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100