From dc238ba1029732aa87f7056b0f741c99a10b936e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 15 May 2025 12:55:08 +0200 Subject: [PATCH] Fix nix-copy-closure VM test https://hydra.nixos.org/build/297112538 (cherry picked from commit d626348f42c60a9a3192b43b13dd27ebb6252ad8) --- tests/nixos/nix-copy-closure.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/nixos/nix-copy-closure.nix b/tests/nixos/nix-copy-closure.nix index 34e3a2c7d..d24930de0 100644 --- a/tests/nixos/nix-copy-closure.nix +++ b/tests/nixos/nix-copy-closure.nix @@ -61,12 +61,10 @@ in "${pkgs.openssh}/bin/ssh-keygen", "-t", "ed25519", "-f", "key", "-N", "" ], capture_output=True, check=True) - client.succeed("mkdir -m 700 /root/.ssh") client.copy_from_host("key", "/root/.ssh/id_ed25519") client.succeed("chmod 600 /root/.ssh/id_ed25519") # Install the SSH key on the server. - server.succeed("mkdir -m 700 /root/.ssh") server.copy_from_host("key.pub", "/root/.ssh/authorized_keys") server.wait_for_unit("sshd") server.wait_for_unit("multi-user.target")