Skip to content

Commit

Permalink
test: update smoketest to run elastic-agent in unprivileged mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kruskall committed Mar 20, 2024
1 parent cc5eb13 commit 13e9d79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ locals {
ea_provision_commands = [
"curl ${data.external.latest_elastic_agent.result.deb} -o elastic-agent.deb && curl ${data.external.latest_elastic_agent.result.rpm} -o elastic-agent.rpm",
"sudo dpkg -i elastic-agent.deb || sudo yum -y install elastic-agent.rpm",
"sudo elastic-agent install -n",
"sudo elastic-agent install -n --unprivileged",
"sudo cp ${local.conf_path} /etc/elastic-agent/elastic-agent.yml",
"sudo systemctl start elastic-agent",
"sleep 1",
Expand Down

0 comments on commit 13e9d79

Please sign in to comment.