Skip to content

Commit

Permalink
feat: set PATH variable in metal-agent
Browse files Browse the repository at this point in the history
Set the common paths in the PATH variable, so that we don't need to hardcode the `ipmitool` path.

Signed-off-by: Utku Ozdemir <[email protected]>
  • Loading branch information
utkuozdemir committed Dec 4, 2024
1 parent b452bc6 commit 778d80c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guest-agents/metal-agent/metal-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: metal-agent
container:
entrypoint: ./talos-metal-agent
args: []
environment:
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
mounts:
- source: /system/run/machined/machine.sock
destination: /system/run/machined/machine.sock
Expand Down

0 comments on commit 778d80c

Please sign in to comment.