util: Fix runners to extent to max disk size (#460)

THe `lvextend` command extends the logical volume. However, the
`resize2fs` command is needed to extend the filesystem to fill the
logical volume.

Prior to this patch the filesystem ran out of space despite there being
enough room in the volume. This was just wasted free space.
This commit is contained in:
Bobby R. Bruce
2023-10-16 09:20:13 -07:00
committed by GitHub
parent 97f4b44dd3
commit 5240c07d3c

View File

@@ -75,3 +75,4 @@ apt-get autoremove -y
# Resize the root partition to fill up all the free size on the disk
lvextend -l +100%FREE $(df / --output=source | sed 1d)
resize2fs $(df / --output=source | sed 1d)