try k session
This commit is contained in:
parent
b333a27745
commit
2cab75ba82
1 changed files with 2 additions and 1 deletions
|
|
@ -127,7 +127,8 @@ 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..."
|
||||||
echo "test" | ${pkgs.bcachefs-tools}/bin/bcachefs unlock "${PRIMARY}"
|
# keyctl link @u @s
|
||||||
|
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