Skip to content
Snippets Groups Projects
Commit 44503341 authored by McConahy, Renee Margaret's avatar McConahy, Renee Margaret
Browse files

roles/minimum_memory: Correct calculation errors.

When it already exists, the swap file managed by the role must be
excluded from the sum of memory and swap used to calculate the size of
said file.

The size of the swap file's header ought to be included in the
calculation; otherwise, the file will be slightly undersized, and the
role will re-create it at every invocation.
parent 73852ccb
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment