From cd9c6feca67f37b8089d28aca64bbd1e9b514116 Mon Sep 17 00:00:00 2001 From: Kai Lueke Date: Mon, 3 Nov 2025 21:00:25 +0900 Subject: [PATCH] disk_layout: Keep Azure image size at 30 GB The increased /boot and /usr partitions meant that we grew all images types. The raw image had the root partition decreased a bit but the VM images not, and AWS and Akamai images even got aligned to also have the larger VM rootfs instead of the raw rootfs. All image types are way smaller than Azure with its 30 GB size and thus the size had to be increased. For Azure, however, we already have enough free space and it is good to avoid increasing the image size because this requires action for those cases where users had assumed that the image fits into a hardcoded 30 GB disk. Reduce the root partition by the amount of blocks that is the difference between the old and current full disk image size for Azure. Signed-off-by: Kai Lueke --- build_library/disk_layout.json | 2 +- changelog/changes/2025-11-03-azure-size.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog/changes/2025-11-03-azure-size.md diff --git a/build_library/disk_layout.json b/build_library/disk_layout.json index de346ea424..2106b0f737 100644 --- a/build_library/disk_layout.json +++ b/build_library/disk_layout.json @@ -88,7 +88,7 @@ "9":{ "label":"ROOT", "fs_label":"ROOT", - "blocks":"58875904" + "blocks":"50876416" } }, "vagrant":{ diff --git a/changelog/changes/2025-11-03-azure-size.md b/changelog/changes/2025-11-03-azure-size.md new file mode 100644 index 0000000000..b5a6f533cf --- /dev/null +++ b/changelog/changes/2025-11-03-azure-size.md @@ -0,0 +1 @@ +- Alpha only: Reduced Azure image size again to 30 GB as before by shrinking the root partition to compensate for the growth of the other partitions ([scripts#TODO](https://github.com/flatcar/scripts/pull/TODO))