How to run custom scripts during the first boot of the VM in OpenShift Virtualization after migration using MTV?

Solution Verified - Updated -

Issue

  • Virtual Machine is migrated from VMware to OpenShift Virtualization using Migration Toolkit for Virtualization(MTV). During the first boot of VM in OpenShift Virtualization, I need to run my custom scripts. Is it possible?

Environment

  • OpenShift Virtualization 4.16.
  • OpenShift Virtualization 4.17.
  • Migration Toolkit for Virtualization 2.7.x.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content