https://nvidia.github.io/libnvidia-container/ is wrong for
Ubuntu, the dot needs to be stripped from the version number.
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>
$SUDO chown root:root /etc/cloud/cloud.cfg.d/07_compute_arvados_dispatch_cloud.cfg
if [ "$NVIDIA_GPU_SUPPORT" == "1" ]; then
- DIST=$(. /etc/os-release; echo $ID$VERSION_ID)
+ DIST=$(. /etc/os-release; echo $ID$VERSION_ID | tr -d '.')
# We need a kernel and matching headers
$SUDO apt-get -y install linux-image-cloud-amd64 linux-headers-cloud-amd64