Skip to content

Commit 8049b29

Browse files
authored
Merge pull request #13794 from NixOS/mergify/bp/2.28-maintenance/pr-13202
Fix nix-copy-closure VM test (backport #13202)
2 parents 265e535 + 834bf0d commit 8049b29

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/nixos/nix-copy-closure.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,10 @@ in
6161
"${pkgs.openssh}/bin/ssh-keygen", "-t", "ed25519", "-f", "key", "-N", ""
6262
], capture_output=True, check=True)
6363
64-
client.succeed("mkdir -m 700 /root/.ssh")
6564
client.copy_from_host("key", "/root/.ssh/id_ed25519")
6665
client.succeed("chmod 600 /root/.ssh/id_ed25519")
6766
6867
# Install the SSH key on the server.
69-
server.succeed("mkdir -m 700 /root/.ssh")
7068
server.copy_from_host("key.pub", "/root/.ssh/authorized_keys")
7169
server.wait_for_unit("sshd")
7270
server.wait_for_unit("multi-user.target")

0 commit comments

Comments
 (0)