remove -k session and keyctl
This commit is contained in:
parent
ba5caf7563
commit
d47fb023e6
1 changed files with 1 additions and 2 deletions
|
|
@ -139,8 +139,7 @@ in
|
||||||
# but uses a key file from the USB stick instead of systemd-ask-password.
|
# but uses a key file from the USB stick instead of systemd-ask-password.
|
||||||
script = ''
|
script = ''
|
||||||
echo "Using test password..."
|
echo "Using test password..."
|
||||||
${pkgs.keyutils}/bin/keyctl link @u @s
|
echo "test" | ${pkgs.bcachefs-tools}/bin/bcachefs unlock "${PRIMARY}"
|
||||||
echo "test" | ${pkgs.bcachefs-tools}/bin/bcachefs unlock -k session "${PRIMARY}"
|
|
||||||
echo "bcachefs unlock successful for ${PRIMARY}"
|
echo "bcachefs unlock successful for ${PRIMARY}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue