Skip to content

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

@gengiskahn

Description

@gengiskahn

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions