Skip to content

Commit

Permalink
List all supported clouds in the README
Browse files Browse the repository at this point in the history
Signed-off-by: Javi Polo <jpolo@redhat.com>
  • Loading branch information
javipolo committed Sep 4, 2024
1 parent c05cd05 commit 4096313
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
4 changes: 4 additions & 0 deletions training/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
26 changes: 13 additions & 13 deletions training/cloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4096313

Please sign in to comment.