portertech/kitchen-docker — pull request #28 by nathwill (2013-11-30 06:09:43+00:00)
Title: run init so container remains accessible after sshd restart

currently, running any tests that restart sshd fail when sshd restarts, because the container stops when the run_command exits, and there's no mechanism to restart it.

running the init process will start the ssh daemon at the default runlevel for every system i'm aware of (certainly for the listed platforms), so the end result is the same, but a bit more resilient.