mirror of
https://github.com/nix-community/disko.git
synced 2024-09-11 06:25:33 +03:00
tests: change passphrase to secretsecret
this is needed for zfs
This commit is contained in:
parent
f665b6b34d
commit
a3e511d3c8
@ -20,7 +20,7 @@ makeDiskoTest {
|
||||
enableOCR = true;
|
||||
bootCommands = ''
|
||||
machine.wait_for_text("Passphrase for")
|
||||
machine.send_chars("secret\n")
|
||||
machine.send_chars("secretsecret\n")
|
||||
'';
|
||||
extraConfig = {
|
||||
boot.kernelModules = [ "dm-raid" "dm-mirror" ];
|
||||
|
@ -19,7 +19,7 @@ makeDiskoTest {
|
||||
enableOCR = true;
|
||||
bootCommands = ''
|
||||
machine.wait_for_text("Passphrase for")
|
||||
machine.send_chars("secret\n")
|
||||
machine.send_chars("secretsecret\n")
|
||||
'';
|
||||
extraConfig = {
|
||||
boot.kernelModules = [ "dm-raid" "dm-mirror" ];
|
||||
|
@ -123,7 +123,7 @@
|
||||
return machine
|
||||
|
||||
machine.start()
|
||||
machine.succeed("echo -n 'secret' > /tmp/secret.key")
|
||||
machine.succeed("echo -n 'secretsecret' > /tmp/secret.key")
|
||||
${lib.optionalString (testMode == "direct") ''
|
||||
machine.succeed("${tsp-create}")
|
||||
machine.succeed("${tsp-mount}")
|
||||
|
@ -10,6 +10,6 @@ makeDiskoTest {
|
||||
enableOCR = true;
|
||||
bootCommands = ''
|
||||
machine.wait_for_text("Passphrase for")
|
||||
machine.send_chars("secret\n")
|
||||
machine.send_chars("secretsecret\n")
|
||||
'';
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ makeDiskoTest {
|
||||
enableOCR = true;
|
||||
bootCommands = ''
|
||||
machine.wait_for_text("Passphrase for")
|
||||
machine.send_chars("secret\n")
|
||||
machine.send_chars("secretsecret\n")
|
||||
'';
|
||||
extraConfig = {
|
||||
boot.kernelModules = [ "dm-raid" "dm-mirror" ];
|
||||
|
Loading…
Reference in New Issue
Block a user