Skip to content

Commit

Permalink
cmd/boot-aws: increase boot wait time to 5 mins
Browse files Browse the repository at this point in the history
  • Loading branch information
achilleas-k committed Oct 30, 2023
1 parent 0a05328 commit b4c4053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/boot-aws/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func scpFile(ip, user, key, hostsfile, source, dest string) error {

func keyscan(ip, filepath string) error {
var keys []byte
maxTries := 10
maxTries := 30 // wait for at least 5 mins
var keyscanErr error
for try := 0; try < maxTries; try++ {
keys, _, keyscanErr = run("ssh-keyscan", ip)
Expand Down

0 comments on commit b4c4053

Please sign in to comment.