Skip to content

Commit 466d13c

Browse files
committed
from-nixos: speed up ssh detection
1 parent 34e4dd7 commit 466d13c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/from-nixos.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
installer.succeed("chmod 600 /tmp/extra-files/home/user/.ssh/id_ed25519")
4141
ssh_key_path = "/etc/ssh/ssh_host_ed25519_key.pub"
4242
ssh_key_output = installer.wait_until_succeeds(f"""
43-
ssh -i /root/.ssh/install_key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no \
43+
timeout 3 ssh -i /root/.ssh/install_key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no \
4444
root@installed cat {ssh_key_path}
4545
""")
4646
installer.succeed("""

0 commit comments

Comments
 (0)