Skip to content

Commit

Permalink
Merge pull request #3 from mar-kolya/sshd-template-fixes
Browse files Browse the repository at this point in the history
Sshd template fixes
  • Loading branch information
brauner authored May 12, 2018
2 parents 69ac044 + dcd92c8 commit 0763252
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions templates/lxc-sshd.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 0763252

Please sign in to comment.