add encrypted swapfile configuration

This commit is contained in:
Daniel Micay 2022-09-26 22:53:26 -04:00
parent 36423fb2bc
commit b93695ecc4
2 changed files with 2 additions and 0 deletions

1
crypttab Normal file
View File

@ -0,0 +1 @@
swap /swapfile /dev/random swap,cipher=aes-xts-plain64,size=512

1
fstab Normal file
View File

@ -0,0 +1 @@
/dev/mapper/swap none swap defaults 0 0