2 # postinst script for lxc
4 # see: dh_installdeb(1)
8 # for details, see http://www.debian.org/doc/debian-policy/ or
9 # the debian-policy package
14 # create subuid/subgui map for root
15 # (to run unprivileged containers as root)
16 usermod
-v 100000-165535 -w 100000-165535 root
19 abort-upgrade|abort-remove|abort-deconfigure
)
23 echo "postinst called with unknown argument \`$1'" >&2
28 # dh_installdeb will replace this with shell code automatically
29 # generated by other debhelper scripts.
33 if [ "$1" = "configure" ] ; then
34 if [ -d /run
/systemd
/system
]; then
35 deb-systemd-invoke reload-or-try-restart lxc.service
>/dev
/null || true