mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 10:31:17 -03:00
Add ITERTIME parameter to the rooted_job()
ITERTIME parameter is not passed to the chrooted_job Issue #15
This commit is contained in:
parent
2a6f861900
commit
7ec2046e5a
2 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ function chrooted_job() {
|
||||||
|
|
||||||
# Add a key to the key file. Use the passphrase in the environment variable.
|
# Add a key to the key file. Use the passphrase in the environment variable.
|
||||||
echo "...Adding a key to the key file."
|
echo "...Adding a key to the key file."
|
||||||
printf %s "${PASSPHRASE}" | cryptsetup luksAddKey -d - "${DEV}${CRYPTPARTITION}" /etc/luks/boot_os.keyfile
|
printf %s "${PASSPHRASE}" | cryptsetup luksAddKey --iter-time "${ITERTIME}" -d - "${DEV}${CRYPTPARTITION}" /etc/luks/boot_os.keyfile
|
||||||
|
|
||||||
# Add the LUKS volume information to /etc/crypttab to decrypt by kernel.
|
# Add the LUKS volume information to /etc/crypttab to decrypt by kernel.
|
||||||
echo "...Adding LUKS volume info to /etc/crypttab."
|
echo "...Adding LUKS volume info to /etc/crypttab."
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ function chrooted_job() {
|
||||||
|
|
||||||
# Add a key to the key file. Use the passphrase in the environment variable.
|
# Add a key to the key file. Use the passphrase in the environment variable.
|
||||||
echo "...Adding a key to the key file."
|
echo "...Adding a key to the key file."
|
||||||
printf %s "${PASSPHRASE}" | cryptsetup luksAddKey -d - "${DEV}${CRYPTPARTITION}" /etc/luks/boot_os.keyfile
|
printf %s "${PASSPHRASE}" | cryptsetup luksAddKey --iter-time "${ITERTIME}" -d - "${DEV}${CRYPTPARTITION}" /etc/luks/boot_os.keyfile
|
||||||
|
|
||||||
# Add the LUKS volume information to /etc/crypttab to decrypt by kernel.
|
# Add the LUKS volume information to /etc/crypttab to decrypt by kernel.
|
||||||
echo "...Adding LUKS volume info to /etc/crypttab."
|
echo "...Adding LUKS volume info to /etc/crypttab."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue