{
  "id": 19037206,
  "title": "Part 3: Automated Boot Sources & Custom Golden Images with CDI",
  "url": "https://urgent.news/2026/11/08/part-3-automated-boot-sources-custom-golden-images-with-cdi",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-08T22:53:03.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/muhammad_adel_f144dae9138/part-3-automated-boot-sources-custom-golden-images-with-cdi-593f"
  },
  "original_language": "en",
  "account": "In the third part of this series, the focus is on building custom golden OS images and automating their import using CDI in OpenShift Virtualization. Traditional virtualization provisioning often involved downloading large ISO files and manually installing an OS, but OpenShift Virtualization offers an automated approach that enables virtual machines to spin up in seconds, similar to containers. The automated pipeline consists of three core stages: packaging the raw disk into a lightweight containerDisk, storing the image in the OpenShift Internal Registry, and configuring CDI to continuously pull updates and make them available for instant VM cloning. To build the containerDisk, ensure the raw qcow2 file has read-only permissions and correct ownership, then create a Containerfile specifying the image source and permissions. Push the image to the OpenShift Internal Registry using the internal registry route and authenticate using a pull secret created with the cluster CA. Configure authentication and TLS certificates for CDI, create a pull secret for the importer pod, extract the cluster CA for TLS verification, and bind it to a configmap. Finally, deploy the DataImportCron to automate updates, specifying annotations for immediate storage allocation and storage requirements. Developers can then spin up a VM in seconds using the managed DataSource, avoiding lengthy provisioning times. The guide also addresses common errors engineers may encounter, such as token availability, file permissions, certificate issues, secret reference handling, and storage provisioning delays. By following these steps and avoiding pitfalls, organizations can efficiently manage custom golden images and maintain up-to-date VM environments with minimal manual intervention.",
  "summary": "In a traditional virtualization world, provisioning a virtual machine often meant downloading a 15GB .iso file, mounting it through an administrative console, clicking through an OS installer wizard, and running post-install scripts. In a cloud-native platform like OpenShift Virtualization, that manual approach is unacceptable. We need VMs to spin up in seconds—just like containers—using…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}