vexxhost / vexxhost/migratekit

Cannot migrate VM with multi boot - add "--root" option

Open
#80 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.