Provision edge devices
You can provision devices with the Red Hat Edge Manager in different environments. Use the operating system image or disk image that you built for use with the Red Hat Edge Manager. Depending on your target environment, provision a physical or virtual device.
Provision physical devices Copy linkLink copied!
When you build an International Organization for Standardization (ISO) disk image from an operating system image by using the bootc-image-builder tool, the image is similar to the RHEL ISOs available for download. However, your operating system image content is embedded in the ISO disk image.
Provision devices with OpenShift Virtualization Copy linkLink copied!
You can provision a virtual machine on OpenShift Virtualization by using a QCoW2 container disk image that is hosted on an OCI container registry.
If your operating system image does not already contain the Red Hat Edge Manager agent enrollment configuration, you can inject the configuration through the cloud-init user data at provisioning.
Create the cloud-init configuration Copy linkLink copied!
The cloud-init configuration customizes a virtual machine instance on its first boot, allowing you to automatically enroll it as a new agent in your Red Hat Edge Manager service.
Before you begin Copy linkLink copied!
- You installed the
flightctlCLI and logged in to your Red Hat Edge Manager service instance. - You installed the
ocCLI, used it to log in to your OpenShift cluster instance, and changed to the project in which you want to create your virtual machine.
About this task Copy linkLink copied!
Procedure Copy linkLink copied!
Create the virtual machine Copy linkLink copied!
Create a virtual machine that has its primary disk populated from your QCoW2 container disk image and a cloud-init configuration drive that is populated from your enrollment secret.
About this task Copy linkLink copied!
Complete the following steps: