Skip to content

Commit ad731d8

Browse files
Wyatt Hickenmselim00
authored andcommitted
Skip nvidia-repo-sync package during verification
1 parent 6cee08c commit ad731d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/al2023/provisioners/validate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ if [[ "$ENABLE_ACCELERATOR" == "nvidia" ]]; then
105105

106106
# Verify that all nvidia* packages have the same version as the nvidia driver, ensures user-space compatibility.
107107
# Skips nvidia-container-toolkit because it's independently versioned and released
108-
if rpmquery --all --queryformat '%{NAME} %{VERSION}\n' nvidia* | grep -v "$NVIDIA_DRIVER_FULL_VERSION" | grep -v "nvidia-container-toolkit" | grep -v "nvidia-release"; then
108+
if rpmquery --all --queryformat '%{NAME} %{VERSION}\n' nvidia* | grep -v "$NVIDIA_DRIVER_FULL_VERSION" | grep -v "nvidia-container-toolkit" | grep -v "nvidia-release" | grep -v "nvidia-repo-s3"; then
109109
echo "Installed version mismatch for one or more nvidia package(s)!"
110110
exit 1
111111
fi

0 commit comments

Comments
 (0)