fix sshd template
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 <1793d65cf7b9eefb2bb8f5bee9a4b8ba782c26da@oracle.com>
Signed-off-by: Serge Hallyn <3df611b026e4639bee8aef7a4beb2e39fcebb313@ubuntu.com>

akshaykarle/lxc,glensc/lxc,JohnPeacockMessageSystems/lxc,lazy404/lxc,bostjan/lxc,fwilson42/lxc,regit/lxc,smoser/lxc,rldleblanc/lxc,ojkastl/lxc_Patches,jirislaby/lxc,ecarrara/lxc,QingweiPeterLan/cs188-lxc,Ponce/lxc,codebauss/lxc,virajs/lxc,fwilson42/lxc,szaszg/lxc,rowhit/lxc,codebauss/lxc,ioops/lxc,hfuCN/lxc,raspberrypython/lxc,hallyn/lxc,ojkastl/lxc_Patches,bostjan/lxc,DarknessBeforeDawn/lxc,bmoar/lxc,federicobriata/lxc,lisongmin/lxc,ss1h2a3tw/lxc,LynxChaus/lxc,yubo/lxc,armcc/lxc,glensc/lxc,cjwatson/lxc,jirislaby/lxc,ksperis/lxc,hkjolhede/lxc,terceiro/lxc,rowhit/lxc,ioops/lxc,smoser/lxc,armcc/lxc,yubo/lxc,caglar10ur/lxc,DarknessBeforeDawn/lxc,terceiro/lxc,terceiro/lxc,Ponce/lxc,szaszg/lxc,regit/lxc,DarknessBeforeDawn/lxc,lisongmin/lxc,thmo/lxc,cjwatson/lxc,ksperis/lxc,efiop/lxc,ysbnim/lxc,ojkastl/lxc_Patches,akshaykarle/lxc,smoser/lxc,christiaan/lxc,thmo/lxc,efiop/lxc,glensc/lxc,szaszg/lxc,weizhenwei/lxc,LynxChaus/lxc,raspberrypython/lxc,christiaan/lxc,christiaan/lxc,lazy404/lxc,caglar10ur/lxc,weizhenwei/lxc,federicobriata/lxc,hallyn/lxc,ss1h2a3tw/lxc,ksperis/lxc,Pelagicore/lxc,virajs/lxc,hfuCN/lxc,caglar10ur/lxc,hallyn/lxc,cjwatson/lxc,GreatFruitOmsk/lxc,aeris/lxc,ss1h2a3tw/lxc,codebauss/lxc,JohnPeacockMessageSystems/lxc,sapun/lxc,ysbnim/lxc,ysbnim/lxc,sapun/lxc,Distrotech/lxc,akshaykarle/lxc,ecarrara/lxc,sapun/lxc,thmo/lxc,efiop/lxc,tych0/lxc,virajs/lxc,LynxChaus/lxc,hkjolhede/lxc,lazy404/lxc,jirislaby/lxc,ecarrara/lxc,weizhenwei/lxc,major/lxc,Distrotech/lxc,bmoar/lxc,rldleblanc/lxc,tych0/lxc,aeris/lxc,QingweiPeterLan/cs188-lxc,ojkastl/lxc_Patches,federicobriata/lxc,ioops/lxc,lisongmin/lxc,JohnPeacockMessageSystems/lxc,Distrotech/lxc,armcc/lxc,GreatFruitOmsk/lxc,Ponce/lxc,bostjan/lxc,rldleblanc/lxc,rowhit/lxc,smoser/lxc,yubo/lxc,raspberrypython/lxc,tych0/lxc,fwilson42/lxc,major/lxc,bmoar/lxc,regit/lxc,GreatFruitOmsk/lxc,hkjolhede/lxc,aeris/lxc,hfuCN/lxc,major/lxc,QingweiPeterLan/cs188-lxc,Pelagicore/lxc,Pelagicore/lxc