Add ITERTIME parameter

Add ITERTIME configuration parameter to config.txt
Issue #13
This commit is contained in:
Suikan 2021-07-07 13:33:10 +09:00
parent f2d4c8fee3
commit ae1a48f8f5
2 changed files with 6 additions and 1 deletions

View file

@ -169,7 +169,7 @@ function pre_install() {
# Encrypt the partition to install Linux
echo "...Initializing \"${DEV}${CRYPTPARTITION}\" as crypt partition"
printf %s "${PASSPHRASE}" | cryptsetup luksFormat --type=luks1 --key-file - --batch-mode "${DEV}${CRYPTPARTITION}"
printf %s "${PASSPHRASE}" | cryptsetup luksFormat --iter-time "${ITERTIME}" --type=luks1 --key-file - --batch-mode "${DEV}${CRYPTPARTITION}"
fi # if erase all