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.
Please register or sign in to comment