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/installer.nix | |
parent | ace5093e36ab1e95cb9463863491bee90d5a4183 (diff) |
bcachefs tests: unlock directly to the right keyring
Diffstat (limited to 'nixos/tests/installer.nix')
-rw-r--r-- | nixos/tests/installer.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 56ba85b76e6f5..3268a16967d75 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -931,9 +931,8 @@ in { "udevadm settle", "mkswap /dev/vda2 -L swap", "swapon -L swap", - "keyctl link @u @s", "echo password | mkfs.bcachefs -L root --encrypted /dev/vda3", - "echo password | bcachefs unlock /dev/vda3", + "echo password | bcachefs unlock -k session /dev/vda3", "echo password | mount -t bcachefs /dev/vda3 /mnt", "mkfs.ext3 -L boot /dev/vda1", "mkdir -p /mnt/boot", |