This adds a sample config that uses the linux container implementation
instead of the default insecure implementation. Also transform the
"container_klass" property into a klass.
Change-Id: Ida50dc0e4d7c2291ba2d1f6bfec5750d54e5f62e
This adds the ability to specify a specific directory to install the chroot in,
as well as flags to disable debootstrap and apt setup.
Test plan:
- rake setup && rake spec
Change-Id: I8064aa2b757911f3241da26337a40ff1fb1d254b
This is in preparation for adding quota support to the LXC container.
If a uid pool is supplied the LXC container will now attempt to acquire a
uid for each container that is created. A WardenError will be raised in the
event that a uid cannot be acquired. Note that the uid is the same both inside
and outside the container in order to facilitate enforcement of disk quotas.
Test plan:
- All existing tests pass.
- New tests pass.
Change-Id: Ic509c0cd9e40275f92207d35bb9bfb943d700026