mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 03:11:44 +00:00
fix sshd template
Fixed the sshd template example. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
parent
f7a5fb7cf5
commit
70e279574c
@ -25,7 +25,7 @@ install_sshd()
|
||||
rootfs=$1
|
||||
|
||||
tree="\
|
||||
$rootfs/var/run \
|
||||
$rootfs/var/run/sshd \
|
||||
$rootfs/var/empty/sshd \
|
||||
$rootfs/var/lib/empty/sshd \
|
||||
$rootfs/etc/ssh \
|
||||
@ -105,8 +105,8 @@ lxc.mount.entry=/lib $rootfs/lib none ro,bind 0 0
|
||||
lxc.mount.entry=/bin $rootfs/bin none ro,bind 0 0
|
||||
lxc.mount.entry=/usr /$rootfs/usr none ro,bind 0 0
|
||||
lxc.mount.entry=/sbin $rootfs/sbin none ro,bind 0 0
|
||||
lxc.mount.entry=tmpfs $rootfs/var/run tmpfs defaults 0 0
|
||||
lxc.mount.entry=@BINDIR@/lxc-sshd $rootfs/sbin/init none bind 0 0
|
||||
lxc.mount.entry=tmpfs $rootfs/var/run/sshd tmpfs mode=0644 0 0
|
||||
lxc.mount.entry=@LXCTEMPLATEDIR@/lxc-sshd $rootfs/sbin/init none bind 0 0
|
||||
EOF
|
||||
|
||||
if [ "$(uname -m)" = "x86_64" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user