projects
/
discourse_docker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move openssh-server from the base image to the sshd template
[discourse_docker.git]
/
templates
/
sshd.template.yml
diff --git
a/templates/sshd.template.yml
b/templates/sshd.template.yml
index 1de853872c19c6ca584881100c6f252fcfa520fe..b5f3c8fd535560a56a095702e89622db4b278447 100644
(file)
--- a/
templates/sshd.template.yml
+++ b/
templates/sshd.template.yml
@@
-33,6
+33,7
@@
run:
- exec:
hook: sshd
cmd:
+ - apt -y install openssh-server
- mkdir -p /var/run/sshd
- mkdir -p /root/.ssh
- echo "$ssh_key" >> /root/.ssh/authorized_keys