cloud-init: Increase /var/lib/cloud max size
GCE supports metadata values up to 256K in size. This means that
user-data cloud-configs are technically allowed by GCE to be up to 256K
in size. 1MB isn't large enough to contain all cloud-init data when
using such a large cloud-config; roughly 1.5MB is needed. Let's increase
/var/lib/cloud size to 2MB to allow for large cloud-configs.
The tmpfs size here does not increase passive memory usage, so users
will not pay for this additional memory unless they use a large
TEST=presubmit, boot on GCE with large cloud-config
RELEASE_NOTE=Fixed an issue that prevented large cloud-configs (~256KB)
from working properly.
(cherry picked from commit f85acf901a4ad899c9b5925d86795ed3c2f46262)
Reviewed-by: Dexter Rivera <email@example.com>
Tested-by: Cusky Presubmit Bot <firstname.lastname@example.org>
Main-Branch-Verified: Cusky Presubmit Bot <email@example.com>
2 files changed