set DEBIAN_FRONTEND=noninteractive correctly

This commit is contained in:
Jeffrey Morgan 2023-09-24 20:35:42 -07:00
parent b5614f3ebc
commit 413a2e4f91

View file

@ -155,7 +155,7 @@ install_cuda_driver_apt() {
status 'Installing CUDA driver...'
$SUDO dpkg -i $TEMP_DIR/cuda-keyring.deb
$SUDO apt-get update
DEBIAN_FRONTEND=noninteractive $SUDO apt-get -y install cuda-drivers -q
$SUDO DEBIAN_FRONTEND=noninteractive apt-get -y install cuda-drivers -q
}
if [ ! -f "/etc/os-release" ]; then