Skip to content

Commit

Permalink
Workspace: Set PATH in /etc/environment
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorNelson committed Sep 8, 2024
1 parent a81b52b commit 27c9dfa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions workspace/core/init.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ let
echo "root:x:0:" >> /etc/group
echo "hacker:x:1000:" >> /etc/group
echo "PATH=\"/run/challenge/bin:/run/workspace/bin:$IMAGE_PATH\"" > /etc/environment
echo $DOJO_AUTH_TOKEN > /run/dojo/var/auth_token
read DOJO_FLAG
Expand Down

0 comments on commit 27c9dfa

Please sign in to comment.