]> git.ipfire.org Git - thirdparty/lxc.git/commit
fix sshd template
authorDwight Engen <dwight.engen@oracle.com>
Fri, 5 Jul 2013 16:17:15 +0000 (12:17 -0400)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 8 Jul 2013 14:56:05 +0000 (09:56 -0500)
commit18efb001a4498f8fc62ab37f1db552fdf001e798
tree724c6a6f4de9455d3bbc391333406672f4f8ddc5
parentef091cefca5082007678fe82ad01389f7057ca48
fix sshd template

Commit a0a2066d introduced an lxc subdir into the lxc-init path, but
this was never reflected in the sshd template. Add it there.

Don't have ssh-keygen ask for passphrase since host keys are not
supposed to use them.

Don't try to symlink kmsg since /dev is bind mounted readonly.

Read-only bind mount some extra /etc directories, and sysfs which are
needed by dhclient on Fedora and Oracle Linux. Fix mounting of /proc.

Find sshd in more places by adding some common paths to $PATH, and
use the found path to it instead of hardcoded /usr/sbin.

Check for ifconfig command, and print out container's IP address.

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
templates/lxc-sshd.in