remove cryptsetup for initramds

This commit is contained in:
terem42
2023-10-06 15:20:21 +02:00
parent adbf01a170
commit ac6009fa59
5 changed files with 9 additions and 1 deletions

View File

@@ -755,6 +755,7 @@ done
if [[ $v_encrypt_rpool == "1" ]]; then
echo "=========set up dropbear=============="
chroot_execute "apt install --yes dropbear-initramfs"
chroot_execute "apt purge cryptsetup-initramfs --yes"
cp /root/.ssh/authorized_keys "$c_zfs_mount_dir/etc/dropbear-initramfs/authorized_keys"