commit | b71eeb1e345dbb720694eac7779e660974352367 | [log] [tgz] |
---|---|---|
author | Shuo Yang <gshuoy@google.com> | Fri Nov 22 19:42:12 2024 +0000 |
committer | Shuo Yang <gshuoy@google.com> | Sat Nov 23 01:31:45 2024 +0000 |
tree | 0d9ce97ed13cd0c5931495385be0da6e52068eaf | |
parent | 2bd88fd5ce2e8f2b267785cfba90e0f3ba1e6d34 [diff] |
cos-tools/cos_customizer: Add the `-use-scratch-disk` flag in cos-customizer. This change is required for the migration from GPU Installer V1 to GPU Installer V2 in the derived image build process. Installing proprietary GPU drivers with GPU Installer V2 requires downloading and preparing the toolchain to link the precompiled GPU drivers., which consumes approximately 5GB of additional disk space. In the driverVM environment, where the vmm size limit is 10GB, increasing the boot disk size is not a viable option. To address this, a new flag is added to enable cos-customizer to provision a scratch disk. This scratch disk will be used to store the toolchain during the GPU driver installation process. BUG=b/380479799 tTEST=cloudbuild RELEASE_NOTE= Add `-use-scratch-disk` flag in cos-customizer finish-image-build step. Change-Id: Ic1f555e848a36a85b225ab5b00ed77237ec0b7ce Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/87220 Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.com> Tested-by: Shuo Yang <gshuoy@google.com> Reviewed-by: Arnav Kansal <rnv@google.com> Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
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.