mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
tests: change passphrase to secretsecret
this is needed for zfs
This commit is contained in:
parent
f665b6b34d
commit
a3e511d3c8
5 changed files with 5 additions and 5 deletions
|
@ -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 a new issue