mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
nixos/test/bcachefs: fix password input
This commit is contained in:
parent
4d719f101c
commit
af57956199
|
@ -23,7 +23,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
|||
"keyctl link @u @s",
|
||||
"echo password | bcachefs format --encrypted --metadata_replicas 2 --label vtest /dev/vdb1 /dev/vdb2",
|
||||
"echo password | bcachefs unlock /dev/vdb1",
|
||||
"mount -t bcachefs /dev/vdb1:/dev/vdb2 /tmp/mnt",
|
||||
"echo password | mount -t bcachefs /dev/vdb1:/dev/vdb2 /tmp/mnt",
|
||||
"udevadm settle",
|
||||
"bcachefs fs usage /tmp/mnt",
|
||||
"umount /tmp/mnt",
|
||||
|
|
|
@ -834,7 +834,7 @@ in {
|
|||
"keyctl link @u @s",
|
||||
"echo password | mkfs.bcachefs -L root --encrypted /dev/vda3",
|
||||
"echo password | bcachefs unlock /dev/vda3",
|
||||
"mount -t bcachefs /dev/vda3 /mnt",
|
||||
"echo password | mount -t bcachefs /dev/vda3 /mnt",
|
||||
"mkfs.ext3 -L boot /dev/vda1",
|
||||
"mkdir -p /mnt/boot",
|
||||
"mount /dev/vda1 /mnt/boot",
|
||||
|
|
Loading…
Reference in a new issue