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]>
(cherry picked from commit 778d80c)
  • Loading branch information
utkuozdemir authored and smira committed Dec 9, 2024
1 parent be871b6 commit 4727957
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 4727957

Please sign in to comment.