cos_gpu_installer: install all available modules

nvidia-peermem.ko is provided by Nvidia, but is not being installed in
cos_gpu_installer. Instead of explicitly installing specific modules,
we should install everything that is present.

BUG=b/243437542
TEST=Ran the following command:

  docker run --rm --name="cos-gpu-installer" --privileged \
    --net=host --pid=host --volume /dev:/dev --volume /:/root \
    gcr.io/$PROJECT/cos-gpu-installer:latest install \
    -host-dir=/var/lib/gpu -debug=true -version=470.141.03 \
    -allow-unsigned-driver=true

on cos-beta-101-17162-0-10. Checked that
/var/lib/gpu/drivers/nvidia-peermem.ko exists.

Change-Id: Idc5a276cc03448027b5b4191e36e874c85b8a281
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/36188
Tested-by: Robert Kolchmeyer <rkolchmeyer@google.com>
Reviewed-by: Arnav Kansal <rnv@google.com>
Reviewed-by: He Gao <hegao@google.com>
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
1 file changed
tree: 92fe65f73ab18b8c1a56733fde2ed8632743fdb1
  1. release/
  2. src/
  3. testing/
  4. .gitignore
  5. BUILD.bazel
  6. cloudbuild.yaml
  7. CONTRIBUTING.md
  8. deps.bzl
  9. go.mod
  10. go.sum
  11. LICENSE
  12. README.md
  13. run_tests.sh
  14. WORKSPACE
README.md

Tools for Container-Optimized OS

This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.

See CONTRIBUTING.md for how to contribute.