Skip to content

testing: heavyvm: build VMs from KVM templates#206

Open
brenns10 wants to merge 1 commit intomainfrom
heavyvm-update
Open

testing: heavyvm: build VMs from KVM templates#206
brenns10 wants to merge 1 commit intomainfrom
heavyvm-update

Conversation

@brenns10
Copy link
Member

Our heavy VM images have thus far been built by installing Oracle Linux from the ISOs in a VM, thanks to the automated Anaconda installer. This is slow, tricky to debug, and requires adjustments for each new OL version. Since OL10 is here and needs to be in the test matrix, the choice was to either extend this system to work with the new OL10 ISOs, or migrate to a better option. I chose the latter.

There were two better options which I considered:

  1. We offer virtual machine template images on yum.oracle.com in qcow2 format. They can be booted and configured with cloud-init.

  2. We could build OS images via "bootc", a new tool which allows building OS images using a Containerfile like you would build container images.

Unfortunately, from what I could tell bootc is not a viable option for something old like OL7. So I chose the first option.

Our heavy VM images have thus far been built by installing Oracle Linux
from the ISOs in a VM, thanks to the automated Anaconda installer. This
is slow, tricky to debug, and requires adjustments for each new OL
version. Since OL10 is here and needs to be in the test matrix, the
choice was to either extend this system to work with the new OL10 ISOs,
or migrate to a better option. I chose the latter.

There were two better options which I considered:

1. We offer virtual machine template images on yum.oracle.com in qcow2
   format. They can be booted and configured with cloud-init.

2. We could build OS images via "bootc", a new tool which allows
   building OS images using a Containerfile like you would build
   container images.

Unfortunately, from what I could tell bootc is not a viable option for
something old like OL7. So I chose the first option.

Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant