Skip to content

kevinquick/packer-qemu

Repository files navigation

Packer for Red Hat on QEMU

This project can build a QEMU image for Red Hat, this includes the latest updates for RHEL9.

It will generate a 50GB raw disk with a CIS compliant filesystem setup. It uses virtio (/dev/vda) to prepare the image.

Requirements

Building the image

Configuration

In the config.ini you need to fill in two variables for the Red Hat Subscription Manager:

  • rhsm_org_id - Red Hat organization ID
  • rhsm_key - Activation key that needs to be used

Building

You can use the build.py script to start the build.

build.py <os>
# Example:
build.py rhel9

It will check for the variable template <os>.variables.pkrvars.hcl.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published