From 0677a7f509d7f1299875a6faa6760ebcf5c96c04 Mon Sep 17 00:00:00 2001 From: ffais Date: Mon, 20 Jan 2025 13:43:17 +0100 Subject: [PATCH] fix: added nvidia_ceph default values to the gpu role Signed-off-by: ffais --- images/capi/ansible/roles/gpu/README.md | 5 +++-- images/capi/ansible/roles/gpu/defaults/main.yml | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/images/capi/ansible/roles/gpu/README.md b/images/capi/ansible/roles/gpu/README.md index b8ab45e858..bdd492746c 100644 --- a/images/capi/ansible/roles/gpu/README.md +++ b/images/capi/ansible/roles/gpu/README.md @@ -8,7 +8,7 @@ is installed after the kernel has been installed. To get around this, we install # NVIDIA vGPU To install the NVIDIA vGPU driver as part of the image build process, you must have a `.run` file and `.tok` file from -NVIDIA ready and available from an S3 endpoint. +NVIDIA ready and available from an S3 endpoint. Once done you need to reference those files in your packer file. _This is because NVIDIA place the vGPU drivers behind a licensing wall which means you can't just use the standard @@ -19,6 +19,7 @@ _This role currently doesn't support installing the publicly available drivers._ An example of the fields you need are defined below. Make sure to review and change any fields where required. If the gridd configuration or licensing .tok file are not required then you can omit the `gridd_feature_type` and `nvidia_tok_location` respectively. +If you're using CEPH S3 add `nvidia_ceph=true` in the `ansible_user_vars` field. ```json { @@ -55,4 +56,4 @@ the [AMDGPU_Installer use-cases](https://rocm.docs.amd.com/projects/install-on-l first to ensure you supply the correct one.**_ _**For example, using the `rocm` use case will install +24GB of libraries as -well as the driver so your disk size will need to compensate for this.**_ \ No newline at end of file +well as the driver so your disk size will need to compensate for this.**_ diff --git a/images/capi/ansible/roles/gpu/defaults/main.yml b/images/capi/ansible/roles/gpu/defaults/main.yml index 47edfd23cf..af12abe7ae 100644 --- a/images/capi/ansible/roles/gpu/defaults/main.yml +++ b/images/capi/ansible/roles/gpu/defaults/main.yml @@ -17,3 +17,4 @@ gpu_amd_usecase: dkms gpu_block_nouveau_loading: false gpu_systemd_networkd_update_initramfs: >- {%- if ansible_os_family == 'VMware Photon OS' -%} dracut -f{%- elif ansible_os_family == 'Debian' -%} update-initramfs -u{%- endif -%} +nvidia_ceph: false