From a6ddee8743e15bdcf536d8bb219f02871a2ec117 Mon Sep 17 00:00:00 2001 From: Jason Paul Deland <9366595+jaydeland@users.noreply.github.com> Date: Tue, 31 May 2022 20:17:55 -0400 Subject: [PATCH] demo/terraform: fix nvidia drivers installation --- terraform/shared/scripts/setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/shared/scripts/setup.sh b/terraform/shared/scripts/setup.sh index c09d44d1b..cb057e5ab 100644 --- a/terraform/shared/scripts/setup.sh +++ b/terraform/shared/scripts/setup.sh @@ -114,7 +114,7 @@ if [[ ! -z ${INSTALL_NVIDIA_DOCKER+x} ]]; then # This is why we added gnupg-curl, otherwise, the following fails with "gpgkeys: protocol `https' not supported" sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/3bf863cc.pub sudo sh -c 'echo "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 /" > /etc/apt/sources.list.d/cuda.list' - sudo apt-get update && sudo apt-get install -y --no-install-recommends linux-headers-generic dkms cuda-drivers + sudo apt-get update && sudo apt-get install -y --no-install-recommends --allow-unauthenticated linux-headers-generic dkms cuda-drivers # Install nvidia-docker and nvidia-docker-plugin # from: https://github.com/NVIDIA/nvidia-docker#ubuntu-140416041804-debian-jessiestretch @@ -126,7 +126,7 @@ if [[ ! -z ${INSTALL_NVIDIA_DOCKER+x} ]]; then sudo tee /etc/apt/sources.list.d/nvidia-docker.list sudo apt-get update - sudo apt-get install -y nvidia-docker2 + sudo apt-get install -y --allow-unauthenticated nvidia-docker2 fi # rkt