Skip to content

Commit 4886b2e

Browse files
committed
wrapper: pass --root=first to virt-v2v
In case there are multiple boot disks in the VM, virt-v2v stops and asks which one to use. We have no way of knowing which is the right one to pick, but we definitely don't want to be blocked by this. It seems that the best thing we can do is to pick the first one and see what happens. Note that virt-v2v does not support conversion of multi-boot VMs. Bug-Url: https://bugzilla.redhat.com/1590618 Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
1 parent ea70e16 commit 4886b2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

files/virt-v2v-wrapper.py

+1
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ def wrapper(data, state_file, v2v_log, agent_sock=None):
330330
data['vm_name'],
331331
'-of', data['output_format'],
332332
'--bridge', 'ovirtmgmt',
333+
'--root', 'first'
333334
]
334335

335336
if data['transport_method'] == 'vddk':

0 commit comments

Comments
 (0)