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

@ -32,6 +32,11 @@ export LVSWAPNAME="swap"
# 1 : Overwrite the existing logical volume as root vlume. 0 : Create new logical volume as root volume. # 1 : Overwrite the existing logical volume as root vlume. 0 : Create new logical volume as root volume.
export OVERWRITEINSTALL=0 export OVERWRITEINSTALL=0
# Do not touch this parameter, unless you understand precisely what you are doing.
# This is a paameter value of the --iter-time option for cyrptsetup command.
# If you specify 1000, that means 1000mSec. 0 means compile default.
export ITERTIME=0
# Void Linux only. Ignored in Ubuntu. # Void Linux only. Ignored in Ubuntu.
# The font size of the void-installer # The font size of the void-installer
export XTERMFONTSIZE=11 export XTERMFONTSIZE=11

View file

@ -169,7 +169,7 @@ function pre_install() {
# Encrypt the partition to install Linux # Encrypt the partition to install Linux
echo "...Initializing \"${DEV}${CRYPTPARTITION}\" as crypt partition" 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 fi # if erase all