This commit is contained in:
fenris 2021-12-09 10:02:47 +01:00
parent d4f517c84a
commit dedbdfd131
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ if [[ "${DISK}" =~ "nvme" ]]; then
elif [[ "${FS}" == "luks" ]]; then
mkfs.vfat -F32 -n "EFIBOOT" ${DISK}p2
# enter luks password to cryptsetup and format root partition
echo -n "${luks_password}" | cryptsetup -y -v luksFormat ${DISK}p3 -
echo -n "${luks_password}" | cryptsetup -v luksFormat ${DISK}p3 -
# open luks container and ROOT will be place holder
echo -n "${luks_password}" | cryptsetup open ${DISK}p3 ROOT -
# now format that container