]> git.proxmox.com Git - pve-installer.git/commit - proxinstall
compute swap size: align down to 4 MB
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 29 Nov 2022 06:10:21 +0000 (07:10 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 29 Nov 2022 06:10:23 +0000 (07:10 +0100)
commitbd27b085939340683477fecf5b02d635db235a43
tree770076cbc6e77808da426d44ee2c8e8e8e87c35a
parent9797bf7e2b1c3e17e730dca65473dd3087115108
compute swap size: align down to 4 MB

For one as this just avoids very oddly specific swap size values, and
more importantly, storage systems like LVM that need to align their
sizes to their internal extent size won't round up on odd numbers
anymore.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
proxinstall