1
0
mirror of https://github.com/lxc/lxc-templates.git synced 2024-12-22 22:40:16 +00:00

Merge pull request #3 from mar-kolya/sshd-template-fixes

Sshd template fixes
This commit is contained in:
Christian Brauner 2018-05-12 02:55:31 +02:00 committed by GitHub
commit 07632524ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,7 +136,8 @@ lxc.cap.drop = sys_module mac_admin mac_override sys_time
# When using LXC with apparmor, uncomment the next line to run unconfined:
#lxc.apparmor.profile = unconfined
lxc.mount.entry = /dev dev none ro,bind 0 0
lxc.autodev = 1
lxc.mount.entry = /lib lib none ro,bind 0 0
lxc.mount.entry = /bin bin none ro,bind 0 0
lxc.mount.entry = /usr usr none ro,bind 0 0
@ -238,7 +239,7 @@ EOF
ifconfig eth0 |grep inet
fi
exec @SBINDIR@/init.lxc -- $sshd_path
exec @SBINDIR@/init.lxc --name $name -- $sshd_path
exit 1
fi