Support creation and use of lxc-cirros by unprivileged users. If we detect we are an unprivileged user, then insist that we be in a userns with a id mapping. If we are in a userns, then don't extract /dev when extracting the rootfs. If we are not root, then save the tarball to ~/.cache/lxc/cirros instead of /var/cache/lxc/cirros. If we are not roo, then include entries to auto-mount proc and sys, as well as bind-mount devices. Cc: Scott Moser <smoser@ubuntu.com> Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Makefile.am | Loading commit data... | |
| lxc-alpine.in | Loading commit data... | |
| lxc-altlinux.in | Loading commit data... | |
| lxc-archlinux.in | Loading commit data... | |
| lxc-busybox.in | Loading commit data... | |
| lxc-centos.in | Loading commit data... | |
| lxc-cirros.in | Loading commit data... | |
| lxc-debian.in | Loading commit data... | |
| lxc-download.in | Loading commit data... | |
| lxc-fedora.in | Loading commit data... | |
| lxc-gentoo.in | Loading commit data... | |
| lxc-openmandriva.in | Loading commit data... | |
| lxc-opensuse.in | Loading commit data... | |
| lxc-oracle.in | Loading commit data... | |
| lxc-plamo.in | Loading commit data... | |
| lxc-sshd.in | Loading commit data... | |
| lxc-ubuntu-cloud.in | Loading commit data... | |
| lxc-ubuntu.in | Loading commit data... |