diff options
Diffstat (limited to 'puomi.py')
-rw-r--r-- | puomi.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -7,9 +7,10 @@ def env_setup(ctx): logging.info("setting up test directory for router testing") srcdir = globals()["srcdir"] + + # Copy env/ssh/ from source dir, which has SSH config and keys. ssh = os.path.join(srcdir, "env", "ssh") dst = os.path.join(os.getcwd(), ".ssh") - logging.debug(f"copy {ssh} to {dst}") shutil.copytree(ssh, dst) @@ -19,6 +20,6 @@ def env_setup(ctx): os.symlink(".ssh", "ssh") # Set permissions on the key files, so that the SSH client isn't upset if - # they're lax. + # they're lax. Git doesn't preserve the permissions correctly. os.chmod(".ssh/ed25519", 0o600) os.chmod(".ssh/ed25519.pub", 0o600) |