integration-tests: Wait for initial SSH to succeed
This commit is contained in:
parent
79e4ff1337
commit
bf6b88867d
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ let
|
|||
${lib.optionalString (length targets != 0) ''
|
||||
for node in ${targetList}:
|
||||
node.wait_for_unit("sshd.service")
|
||||
deployer.succeed(f"ssh -o StrictHostKeyChecking=accept-new {node.name} true", timeout=30)
|
||||
deployer.wait_until_succeeds(f"ssh -o StrictHostKeyChecking=accept-new {node.name} true", timeout=30)
|
||||
''}
|
||||
|
||||
deployer.succeed("cp --no-preserve=mode -r ${bundle} /tmp/bundle && chmod u+w /tmp/bundle")
|
||||
|
|
Loading…
Reference in a new issue