diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2022-01-29 13:34:58 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2022-01-29 13:34:58 -0300 |
commit | 761273fe2ad2c9c15b41d0e05afd69a52ca9a08e (patch) | |
tree | cbb57332fdf7d4aefe9f504aa0ab3fda64a9d706 | |
parent | 18a0b35d83b48a6f5136a30ddb81f32e8a882810 (diff) | |
download | hydra-761273fe2ad2c9c15b41d0e05afd69a52ca9a08e.tar.gz hydra-761273fe2ad2c9c15b41d0e05afd69a52ca9a08e.tar.bz2 |
Fix: provision: initramfs: cryptsetup config (2)
-rwxr-xr-x | share/hydractl/provision | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision index 291815d..bfd5e78 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -646,7 +646,9 @@ EOF #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 - echo "CRYPTSETUP=y" > $WORK/etc/initramfs-tools/hooks/cryptsetup.conf + cat <<-EOF | $SUDO tee $WORK/etc/initramfs-tools/hooks/cryptsetup.conf > /dev/null +CRYPTSETUP=y +EOF hydra_sudo_run chroot $WORK update-initramfs -u else |