mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
tests luks-interactive: do luks unlock manually
This commit is contained in:
parent
bf50636a65
commit
4eed2457b0
1 changed files with 4 additions and 0 deletions
|
@ -8,4 +8,8 @@ diskoLib.testLib.makeDiskoTest {
|
||||||
extraTestScript = ''
|
extraTestScript = ''
|
||||||
machine.succeed("cryptsetup isLuks /dev/vda2");
|
machine.succeed("cryptsetup isLuks /dev/vda2");
|
||||||
'';
|
'';
|
||||||
|
bootCommands = ''
|
||||||
|
machine.wait_for_console_text("vda")
|
||||||
|
machine.send_console("secretsecret\n")
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue