diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-02-24 13:57:00 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-02-24 13:57:00 -0300 |
commit | a9297bdaad681a5013a0810187727d34842e052f (patch) | |
tree | 6a63eb331d752236b745471672153fa64d1cb1be /share/hydractl/provision | |
parent | 92c0b5f5ab2b11783db0c7e7f6fca42161705df6 (diff) | |
download | hydra-a9297bdaad681a5013a0810187727d34842e052f.tar.gz hydra-a9297bdaad681a5013a0810187727d34842e052f.tar.bz2 |
Fix: hydractl: sync-media: tell why it's not allowed to run as the root user
Diffstat (limited to 'share/hydractl/provision')
-rwxr-xr-x | share/hydractl/provision | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision index 783f2ae..d318aaf 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -54,13 +54,13 @@ function hydra_cryptsetup { # Run cryptsetup with custom parameters #hydra_sudo_run cryptsetup --cipher aes-xts-plain64:sha256 --key-size 512 --hash sha512 --iter-time 5000 --use-random -y -q luksFormat $1 - # GRUB2 from bullseye (or even older) does not support LUKS2, which seems + # GRUB2 from bookworm (or even older) still does not support LUKS2, which seems # the default type for luksFormat since bullseye at least # See https://cryptsetup-team.pages.debian.net/cryptsetup/encrypted-boot.html - #hydra_sudo_run cryptsetup --use-random -y -q luksFormat --type luks1 $1 + hydra_sudo_run cryptsetup --use-random -y -q luksFormat --type luks1 $1 # Run cryptsetup mostly with defaults - hydra_sudo_run cryptsetup --use-random -y -q luksFormat $1 + #hydra_sudo_run cryptsetup --use-random -y -q luksFormat $1 fi } |