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:
commit
07632524ae
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user