Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure the encrypted swapfile is always created #3895

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NeilGerring
Copy link
Contributor

- What I did
Ensured the encrypted swap file would be created after the initial boot.

- How I did it
Changed the shell script to have a else if that would re-create the swapfile if the provided path existed and the file size didn't need to be changed.

- How to verify it
Reboot a fresh virtual machine and then run swapon --show.

- Description for the changelog

Ensure a encrypted swap file is always created after a reboot.

- A picture of a cute animal (not mandatory but encouraged)

…n a reboot

Signed-off-by: Neil Gerring <ng@neilgerring.co.uk>
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.

None yet

1 participant