Downsize / to 15G and grow it on firstboot
This commit is contained in:
parent
80435b988d
commit
5ce683cdff
@ -21,7 +21,7 @@
|
|||||||
<volume name="root"/>
|
<volume name="root"/>
|
||||||
<volume name="var"/>
|
<volume name="var"/>
|
||||||
</systemdisk>
|
</systemdisk>
|
||||||
<size unit="G">20</size>
|
<size unit="G">15</size>
|
||||||
<oemconfig>
|
<oemconfig>
|
||||||
<oem-resize>false</oem-resize>
|
<oem-resize>false</oem-resize>
|
||||||
</oemconfig>
|
</oemconfig>
|
||||||
|
3
root/etc/fstab.script
Executable file
3
root/etc/fstab.script
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
gawk -i inplace '$2 == "/" { $4 = $4",x-systemd.growfs" } { print $0 }' /etc/fstab
|
Loading…
Reference in New Issue
Block a user