mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Onboarding] Auto-detect. Delete previous download artifacts. (#189365)
Closes https://github.com/elastic/kibana/issues/189266 Adds a line to remove previously downloaded and extracted Elastic Agent.
This commit is contained in:
parent
4c49ccf480
commit
65069a5cf7
1 changed files with 1 additions and 0 deletions
|
@ -148,6 +148,7 @@ update_step_progress() {
|
|||
|
||||
download_elastic_agent() {
|
||||
local download_url="https://artifacts.elastic.co/downloads/beats/elastic-agent/${elastic_agent_artifact_name}.tar.gz"
|
||||
rm -rf "./${elastic_agent_artifact_name}" "./${elastic_agent_artifact_name}.tar.gz"
|
||||
curl -L -O $download_url --silent --fail
|
||||
|
||||
if [ "$?" -eq 0 ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue