@@ -835,7 +835,7 if [ "$ENABLE_CRYPTFS" = true ] ; then | |||||
835 | echo -n ${CRYPTFS_PASSWORD} > .password |
|
835 | echo -n ${CRYPTFS_PASSWORD} > .password | |
836 |
|
836 | |||
837 | # Initialize encrypted partition |
|
837 | # Initialize encrypted partition | |
838 |
|
|
838 | printf "YES" | cryptsetup luksFormat "${ROOT_LOOP}" -c "${CRYPTFS_CIPHER}" -s "${CRYPTFS_XTSKEYSIZE}" .password | |
839 |
|
839 | |||
840 | # Open encrypted partition and setup mapping |
|
840 | # Open encrypted partition and setup mapping | |
841 | cryptsetup luksOpen "${ROOT_LOOP}" -d .password "${CRYPTFS_MAPPING}" |
|
841 | cryptsetup luksOpen "${ROOT_LOOP}" -d .password "${CRYPTFS_MAPPING}" |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant