Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reconfigure openssh server in noninteractive mode #496

Merged
merged 1 commit into from Nov 17, 2015

Conversation

boxofrox
Copy link
Contributor

dpkg-reconfigure fails to run without a tty, pty, or some such, so tell it to just run.

On first run of the container when ssh keys are generated, dpkg-configure fails to create the ssh keys, and the entrypoint.sh script fatally errors when it goes to relocate the keys. Forcing noninteractive mode ensures the ssh keys are created when running docker-compose up -d in detached mode.

Fixes #495

dpkg-reconfigure fails to run without a tty, pty, or some such, so tell
it to just run.

fixes sameersbn#495

Signed-off-by: Justin Charette <charetjc@gmail.com>
sameersbn pushed a commit that referenced this pull request Nov 17, 2015
reconfigure openssh server in noninteractive mode
@sameersbn sameersbn merged commit eebf75b into sameersbn:master Nov 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants