Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>
fi
$SUDO apt-get update
$SUDO apt-get -y install libnvidia-container1 libnvidia-container-tools nvidia-container-toolkit
+ # This service fails to start when the image is booted without Nvidia GPUs present, which makes
+ # `systemctl is-system-running` respond with "degraded" and since that command is our default
+ # BootProbeCommand, compute nodes never finish booting from Arvados' perspective.
+ # Disable the service to avoid this.
+ $SUDO systemctl disable nvidia-persistenced.service
fi
$SUDO apt-get clean