diff options
author | Linus Heckemann <git@sphalerite.org> | 2023-09-22 12:58:04 +0200 |
---|---|---|
committer | Linus Heckemann <git@sphalerite.org> | 2023-09-22 12:58:04 +0200 |
commit | f6f5f60879c8bee472d37d79b53757a47098b446 (patch) | |
tree | ec05261990a0cc1972b5063204b1ca31a6be1449 /nixos/tests/bcachefs.nix | |
parent | ace5093e36ab1e95cb9463863491bee90d5a4183 (diff) |
bcachefs tests: unlock directly to the right keyring
Diffstat (limited to 'nixos/tests/bcachefs.nix')
-rw-r--r-- | nixos/tests/bcachefs.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/tests/bcachefs.nix b/nixos/tests/bcachefs.nix index 0385e098997f4..ec3c2427f386d 100644 --- a/nixos/tests/bcachefs.nix +++ b/nixos/tests/bcachefs.nix @@ -20,9 +20,8 @@ import ./make-test-python.nix ({ pkgs, ... }: { "parted --script /dev/vdb mklabel msdos", "parted --script /dev/vdb -- mkpart primary 1024M 50% mkpart primary 50% -1s", "udevadm settle", - "keyctl link @u @s", "echo password | bcachefs format --encrypted --metadata_replicas 2 --label vtest /dev/vdb1 /dev/vdb2", - "echo password | bcachefs unlock /dev/vdb1", + "echo password | bcachefs unlock -k session /dev/vdb1", "echo password | mount -t bcachefs /dev/vdb1:/dev/vdb2 /tmp/mnt", "udevadm settle", "bcachefs fs usage /tmp/mnt", |