Skip to content

Conversation

dagbrown
Copy link
Member

@dagbrown dagbrown commented Oct 8, 2023

Cleaning up a few minor things in the "filesystems" section of the installer.

# strange calc. but it ends up being ~ 2xRAM rounded up to 256MB blocks
SWAPSIZE=$(grep MemTotal: /proc/meminfo | awk '{print $2}' | sed 's/[0-9][0-9][0-9]$//') &&
(( SWAPSIZE = ( ( SWAPSIZE / 128 ) + 1 ) * 256 )) &&
SWAPSIZE=$(awk '/^MemTotal:/ {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's update this calculation to match the one in the express disk change :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants