From 5ce683cdff7f67db8af00a4e9d10f2dc106474f0 Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Fri, 4 Nov 2022 17:22:10 +0000 Subject: [PATCH] Downsize / to 15G and grow it on firstboot --- platforms/workstation.xml | 2 +- root/etc/fstab.script | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 root/etc/fstab.script diff --git a/platforms/workstation.xml b/platforms/workstation.xml index 09da0a9..7ac9659 100644 --- a/platforms/workstation.xml +++ b/platforms/workstation.xml @@ -21,7 +21,7 @@ - 20 + 15 false diff --git a/root/etc/fstab.script b/root/etc/fstab.script new file mode 100755 index 0000000..ce72ea7 --- /dev/null +++ b/root/etc/fstab.script @@ -0,0 +1,3 @@ +#!/bin/sh + +gawk -i inplace '$2 == "/" { $4 = $4",x-systemd.growfs" } { print $0 }' /etc/fstab