How to configure network and also inject SSH Keys using Cloud-init in OpenShift Virtualization?

Solution In Progress - Updated -

Issue

  • The requirement is to configure both the network and also inject ssh key using cloud-init during the virtual machine startup. How to configure this in OpenShift Virtualization?

Environment

  • Red Hat OpenShift Virtualization 4.11.
  • Red Hat OpenShift Virtualization 4.12.
  • Red Hat OpenShift Virtualization 4.13.

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