Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MTV-1299] Backport of 984to release-v2.6.4 #988

Merged
merged 10 commits into from
Aug 20, 2024

Conversation

mnecas
Copy link
Member

@mnecas mnecas commented Aug 20, 2024

Backport of #984 and running chore hack for the deps

There were multiple conflicts with the PR #802 because it was not merged to the main branch

yaacov and others added 9 commits August 20, 2024 20:50
Signed-off-by: yaacov <[email protected]>
When running the script during the virt-v2v some of our commands
for example `Get-Disk` returns nothing so we needed some alternative
way to run the scripts.
I have chosen the way to use the `virt-win-reg`
and specify a new `RunOnce` task which will be run by the Windows once
everything is ready. With the `virt-win-reg` was another issue that
we couldn't specify multiple disks to the arguments. So I needed to define
the domain on which we will run the `virt-win-reg`.

So the current workflow now is:
1. Migrate the VM from VMware using `virt-v2v`
2. Define the VM using `virsh define` which will be cleaned up after
   the process finishes
3. Upload our scripts to the VM using `virt-customize`
4. Change the Windows registry using `virt-win-reg`

Signed-off-by: Martin Necas <[email protected]>
@mnecas mnecas force-pushed the backport-mtv-1299 branch from 6976fab to cec77c1 Compare August 20, 2024 19:03
Copy link

@mnecas mnecas merged commit 6974365 into kubev2v:release-v2.6.4 Aug 20, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants