]> git.proxmox.com Git - mirror_lxc.git/commit - templates/lxc-busybox.in
templates: Refuse to run unprivileged
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 4 Feb 2014 16:16:07 +0000 (11:16 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 4 Feb 2014 19:30:51 +0000 (14:30 -0500)
commit8ec981fc8b0105da5f071e40811e0c2472a6c3c9
tree836555539d8867b9249b71f03a93e8925d230923
parent3a6ef65aa29206b2f2061fdb020c32118f6d74f2
templates: Refuse to run unprivileged

Only the download and ubuntu-cloud templates work with unprivileged
containers, for all others, detect --mapped-uid and error out as early
as possible, recommending the use of the download template.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge Hallyn <serge.hallyn@ubuntu.com>
15 files changed:
templates/lxc-alpine.in
templates/lxc-altlinux.in
templates/lxc-archlinux.in
templates/lxc-busybox.in
templates/lxc-centos.in
templates/lxc-cirros.in
templates/lxc-debian.in
templates/lxc-fedora.in
templates/lxc-gentoo.in
templates/lxc-openmandriva.in
templates/lxc-opensuse.in
templates/lxc-oracle.in
templates/lxc-plamo.in
templates/lxc-sshd.in
templates/lxc-ubuntu.in