Commit a3ef8c79 authored by Martin Peres's avatar Martin Peres
Browse files

initscript/cgroups: set memory.use_hierarchy, to squash some warnings

parent 7f426b15
......@@ -219,6 +219,9 @@ function setup_container_runtime {
[ -d "$CONTAINER_CACHE" ] || mkdir "$CONTAINER_CACHE"
ln -s "$CONTAINER_CACHE" /var/tmp
# Squash a kernel warning
echo 1 > /sys/fs/cgroup/memory/memory.use_hierarchy
# Set some configuration files
touch /etc/hosts
echo "root:x:0:0:root:/root:/bin/sh" > /etc/passwd
......
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