Fleet Server restarts once after being healthy. Agents enrolling during this restart fail and need to be restarted. Improve the healthcheck so it expects to have three healthy healthchecks before considering Fleet Server ready to enroll. This should reduce the number of restarts required by Elastic Agent on first boot.
Reduce also the time to wait when the agent is restarted in case it fails on a first boot.
Fleet Server restarts once after being healthy. Agents enrolling during this restart fail and need to be restarted. Improve the healthcheck so it expects to have three healthy healthchecks before considering Fleet Server ready to enroll. This should reduce the number of restarts required by Elastic Agent on first boot.
Reduce also the time to wait when the agent is restarted in case it fails on a first boot.
And rename some files to avoid legacy names.