add confirmation prompt when installing

This commit is contained in:
Jörg Thalheim
2024-03-06 11:27:26 +01:00
parent e99c7e8b2a
commit d84b5e7457
2 changed files with 14 additions and 1 deletions

View File

@@ -107,7 +107,7 @@ in
client.succeed("${pkgs.coreutils}/bin/install -Dm 600 ${../lib/ssh/privkey} /root/.ssh/id_ed25519")
client.wait_until_succeeds("ssh -o StrictHostKeyChecking=accept-new -v root@target hostname")
client.succeed("clan --debug --flake ${../..} machines install test_install_machine root@target >&2")
client.succeed("clan --debug --flake ${../..} machines install --yes test_install_machine root@target >&2")
try:
target.shutdown()
except BrokenPipeError: