Add --allow-unauthenticated when installing CUDA (#878)

This commit is contained in:
Roman Grundkiewicz 2021-09-07 11:11:58 +01:00 committed by GitHub
parent 6652b310b1
commit 8d0a3c0c27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ sudo add-apt-repository "deb ${REPO_URL} /"
sudo apt-get update
echo "Installing CUDA packages ${CUDA_PACKAGES}"
sudo apt-get -y install ${CUDA_PACKAGES}
sudo apt-get -y --allow-unauthenticated install ${CUDA_PACKAGES}
if [[ $? -ne 0 ]]; then
echo "CUDA Installation Error."