|author||Nobel Barakat <firstname.lastname@example.org>||Wed Jul 27 21:46:25 2022 +0000|
|committer||Nobel Barakat <email@example.com>||Wed Aug 17 00:08:09 2022 +0000|
cos_customizer: Adding a scratch disk for the install-gpu step This change modifies the preloader and provisioner to take advantage of a "scratch disk" during the install gpu step. The install gpu step requires a toolchain of 5gb which gets installed onto the bootdisk, and subsequently customers are forced to increase their bootdisk size. This change now downloads the gpu toolchain to a "scratch disk" which is only created when the install-gpu step is configured. The scratch disk is created by the preloader and the provisioner takes advantage of the disk by mounting the disk and using it as the new toolchain location. This reduces cos-gpu image sizes by around 4-5gb depending on the size of the toolchain. BUG=b/240175057,b/172925856 TEST=presubmit Change-Id: I556bdc25327274e13e2947ff7a5bfffde2c18c04 Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/35847 Tested-by: Nobel Barakat <firstname.lastname@example.org> Reviewed-by: Robert Kolchmeyer <email@example.com> Cloud-Build: GCB Service account <firstname.lastname@example.org>
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.