From 4096313598cb0eb770309a1d165bd4d5e3dd6058 Mon Sep 17 00:00:00 2001 From: Javi Polo Date: Wed, 4 Sep 2024 15:07:29 +0200 Subject: [PATCH] List all supported clouds in the README Signed-off-by: Javi Polo --- training/README.md | 4 ++++ training/cloud/README.md | 26 +++++++++++++------------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/training/README.md b/training/README.md index 1ad9498f..826a9c62 100644 --- a/training/README.md +++ b/training/README.md @@ -117,6 +117,10 @@ The following image disk types are currently available: | `anaconda-iso` | An unattended Anaconda installer that installs to the first disk found. | | `raw` | Unformatted [raw disk](https://en.wikipedia.org/wiki/Rawdisk). | +# Images customized for cloud providers + +For building images customized for each supported cloud provider, please read the [cloud providers section](cloud) + # Troubleshooting Sometimes, interrupting the build process may lead to wanting a complete restart of the process. For those cases, we can instruct `podman` to start from scratch and discard the cached layers. This is possible by passing the `--no-cache` parameter to the build process by using the `CONTAINER_TOOL_EXTRA_ARGS` variable: diff --git a/training/cloud/README.md b/training/cloud/README.md index adec89c2..926a140c 100644 --- a/training/cloud/README.md +++ b/training/cloud/README.md @@ -14,19 +14,19 @@ Please refer to the official RHEL AI documentation on how to create machine imag # Makefile variables -| Variable | Description | Default | -|---------------------------|-------------------------------------------------|--------------------------------------------------------------| -| CLOUD | Sets the name of the cloud: aws, gcp, ibm, ... | ` ` | -| HARDWARE | Hardware accelerator RHEL AI source image | `nvidia` | -| VERSION | RHEL AI version | `1.1` | -| REGISTRY | Container Registry for storing container images | `quay.io` | -| REGISTRY_ORG | Container Registry organization | `ai-lab` | -| IMAGE_NAME | Container image name | `bootc-${HARDWARE}-rhel9-${CLOUD}` | -| IMAGE_TAG | Container image tag | `${CLOUD}-latest` | -| CONTAINER_TOOL | Container tool used for build | `podman` | -| CONTAINER_TOOL_EXTRA_ARGS | Container tool extra arguments | ` ` | -| BASEIMAGE | Source RHEL AI image | `registry.stage.redhat.io/rhelai1/bootc-nvidia-rhel9:latest` | -| BOOTC_IMAGE_CLOUD | Override cloud image name | `${REGISTRY}/${REGISTRY_ORG}/${IMAGE_NAME}:${IMAGE_TAG}` | +| Variable | Description | Default | +|---------------------------|--------------------------------------------------------|--------------------------------------------------------------| +| CLOUD | Sets the name of the cloud: aws, azure, gcp, ibm | ` ` | +| HARDWARE | Hardware accelerator RHEL AI source image | `nvidia` | +| VERSION | RHEL AI version | `1.1` | +| REGISTRY | Container Registry for storing container images | `quay.io` | +| REGISTRY_ORG | Container Registry organization | `ai-lab` | +| IMAGE_NAME | Container image name | `bootc-${HARDWARE}-rhel9-${CLOUD}` | +| IMAGE_TAG | Container image tag | `${CLOUD}-latest` | +| CONTAINER_TOOL | Container tool used for build | `podman` | +| CONTAINER_TOOL_EXTRA_ARGS | Container tool extra arguments | ` ` | +| BASEIMAGE | Source RHEL AI image | `registry.stage.redhat.io/rhelai1/bootc-nvidia-rhel9:latest` | +| BOOTC_IMAGE_CLOUD | Override cloud image name | `${REGISTRY}/${REGISTRY_ORG}/${IMAGE_NAME}:${IMAGE_TAG}` | # Example on how to build your own AI Bootc disk image