Commit 6000d5ba by Dwight Engen Committed by Stéphane Graber

lxc-oracle: mount cgroup:mixed

- Mounting cgroup:mixed prevents systemd inside the container from moving its children out of the cgroups lxc setup. This ensure the limits setup in the configuration or with lxc-cgroup are effective. - Update for the OL7 channel name that will be used on public-yum.oracle.com. Signed-off-by: 's avatarDwight Engen <dwight.engen@oracle.com> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent d4ef230c
......@@ -2,7 +2,7 @@
lxc.include = @LXCTEMPLATECONFIG@/common.conf
# Mount entries
lxc.mount.auto = proc:mixed sys:ro
lxc.mount.auto = cgroup:mixed proc:mixed sys:ro
# Capabilities
# Uncomment these if you don't run anything that needs the capability, and
......
......@@ -658,7 +658,9 @@ container_rootfs_create()
# disable all repos, then enable the repo for the version we are installing.
if [ $container_release_minor = "latest" ]; then
repo=$latest_L""$container_release_major"_"$container_release_minor
elif [ $container_release_major = "6" -o $container_release_major = "7" ]; then
elif [ $container_release_major = "7" ]; then
repo="ol"$container_release_major"_u"$container_release_minor"_base"
elif [ $container_release_major = "6" ]; then
if [ $container_release_minor = "0" ]; then
repo="ol"$container_release_major"_ga_base"
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment