Skip to content

Commit 0d3750e

Browse files
authored
Merge pull request NixOS#13202 from NixOS/fix-nix-copy-closure-test
Fix nix-copy-closure VM test
2 parents ea09198 + d626348 commit 0d3750e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

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)