diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydractl/provision | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision index 2ca8c0a..97d9937 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -442,6 +442,10 @@ $APT_INSTALL linux-image-$kernel_arch -y # Initramfs. echo "Creating initramfs..." +if [ -e "$WORK/etc/cryptsetup-initramfs/conf-hook" ]; then + hydra_sudo_run sed -i -e 's/#CRYPTSETUP=/CRYPTSETUP=y/' $WORK/etc/cryptsetup-initramfs/conf-hook +fi + hydra_sudo_run chroot $WORK update-initramfs -u # Grub. |