Skip to content

Commit

Permalink
Setup sshd for dstack images
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor-S committed Aug 1, 2023
1 parent 80af494 commit f9e2b13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cli/dstack/_internal/configurators/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ def build_commands(self) -> List[str]:

def setup(self) -> List[str]:
commands = []
if self.conf.image is None:
commands += self.sshd.get_setup_commands()
commands += self.conf.setup
return commands

Expand Down

0 comments on commit f9e2b13

Please sign in to comment.