Skip to content

Commit

Permalink
fix container initialization to include the update pip config (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadeofblue authored Apr 17, 2024
1 parent 5d069ae commit c4112c2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ray_on_golem/server/services/golem/golem.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,13 @@ async def _upload_node_configuration(
await self._run_command(context, f"echo '{hostname}' > /etc/hostname")
await self._run_command(context, f"echo '{ip} {hostname}' >> /etc/hosts")
await self._run_command(
context, "mv /root_copy/.bashrc /root_copy/.profile /root 2> /dev/null"
context,
"mv "
"/root_copy/.bashrc "
"/root_copy/.profile "
"/root_copy/.config "
"/root_copy/.local "
"/root 2> /dev/null",
)

await self._run_command(context, "mkdir -p /root/.ssh")
Expand Down

0 comments on commit c4112c2

Please sign in to comment.