mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
Merge pull request #496 from boxofrox/fix/issue-495
reconfigure openssh server in noninteractive mode
This commit is contained in:
commit
eebf75b16b
@ -320,7 +320,7 @@ fi
|
||||
|
||||
if [[ ! -e ${GITLAB_DATA_DIR}/ssh/ssh_host_rsa_key ]]; then
|
||||
# create ssh host keys and move them to the data store.
|
||||
dpkg-reconfigure openssh-server
|
||||
dpkg-reconfigure -f noninteractive openssh-server
|
||||
mkdir -p ${GITLAB_DATA_DIR}/ssh/
|
||||
mv /etc/ssh/ssh_host_*_key /etc/ssh/ssh_host_*_key.pub ${GITLAB_DATA_DIR}/ssh/
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user