From 52adcd3f40df7c8b64cede675526eb4fe682e0cd Mon Sep 17 00:00:00 2001 From: phaer Date: Wed, 2 Mar 2022 14:30:19 +0100 Subject: [PATCH] resize /var, not /... because cloud-inits growpart can only resize the last partition --- modules/host/templates/userdata.yaml.tpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/host/templates/userdata.yaml.tpl b/modules/host/templates/userdata.yaml.tpl index e9d9845..5ac25d9 100644 --- a/modules/host/templates/userdata.yaml.tpl +++ b/modules/host/templates/userdata.yaml.tpl @@ -1,4 +1,9 @@ #cloud-config + +# Resize /var, not /, as that's the last partition in MicroOS image. +growpart: + devices: ["/var"] + write_files: # Configure private network @@ -40,4 +45,3 @@ runcmd: # Finishing automatic reboot via Kured setup - rebootmgrctl set-strategy off - \ No newline at end of file