Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.58 KB

IMAGES.md

File metadata and controls

39 lines (26 loc) · 1.58 KB

OpenShift 4.0 libvirt on GCP Images

Currently, images are maintained and pushed to openshift-gce-devel project for all OpenShift developers to use.
If you have access to OpenShift GCE account, you should not build images. For access see onboarding docs For all others, you'll need to create these images in your GCE project and update all scripts accordingly.

Images

Images are built with Packer. Override variables as necessary.

Source image

The source image is rhel9 with nested virtualization enabled.

To use packer with GCP, you first need to set application default credentials

$ export GOOGLE_APPLICATION_CREDENTIALS=<service account key file path>
$ packer build openshift4-libvirt-source.json

To override any default variable value, for example, Google Project ID:

$ packer build -var 'project=your-google-project-id' openshift4-libvirt-source.json

Provisioned image

The provisioned image implements all the OpenShift libvirt HOWTO requirements.

$ packer build openshift4-libvirt.json

To override any default variable value, for example, Google Project ID:

$ packer build -var 'project=your-google-project-id' openshift4-libvirt.json