diff options
author | Ryan Lahfa <masterancpp@gmail.com> | 2023-10-28 20:38:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-28 20:38:14 +0200 |
commit | de47b2e8a5e13afe8581f76bcb59ac5f17b4ac57 (patch) | |
tree | 9c0da3d00f5d378e52c667c1608f7fedb7490d17 /nixos/tests/installer.nix | |
parent | d59ba91d5a8687a8872ce4941ef23533fc2aa009 (diff) | |
parent | 99a47a5e357689a136fd917819fd3a26e3012be3 (diff) |
Merge pull request #263033 from ElvishJerricco/systemd-stage-1-filesystems-encrypted
systemd-stage-1: Enable more encrypted installer tests
Diffstat (limited to 'nixos/tests/installer.nix')
-rw-r--r-- | nixos/tests/installer.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 9ff1d8f5d039e..15ece034898a7 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -515,7 +515,7 @@ let enableOCR = true; preBootCommands = '' machine.start() - machine.wait_for_text("Passphrase for") + machine.wait_for_text("[Pp]assphrase for") machine.send_chars("supersecret\n") ''; }; @@ -781,7 +781,7 @@ in { encrypted.enable = true; encrypted.blkDev = "/dev/vda3"; encrypted.label = "crypt"; - encrypted.keyFile = "/mnt-root/keyfile"; + encrypted.keyFile = "/${if systemdStage1 then "sysroot" else "mnt-root"}/keyfile"; }; ''; }; |