summaryrefslogtreecommitdiffstats
path: root/recipes-containers/lxc/files/init-lxc-mount
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 03:19:54 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 03:19:54 +0200
commitc158582c0fc7f4bd73980fe9adad446855f4d61b (patch)
tree31b701a2367cb983e76e76cd7c2ba176ad33e5ac /recipes-containers/lxc/files/init-lxc-mount
downloadmeta-vt-c158582c0fc7f4bd73980fe9adad446855f4d61b.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'recipes-containers/lxc/files/init-lxc-mount')
-rwxr-xr-xrecipes-containers/lxc/files/init-lxc-mount12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-containers/lxc/files/init-lxc-mount b/recipes-containers/lxc/files/init-lxc-mount
new file mode 100755
index 0000000..c4c77df
--- /dev/null
+++ b/recipes-containers/lxc/files/init-lxc-mount
@@ -0,0 +1,12 @@
1#!/bin/sh -e
2
3mkdir -p /sys/fs/cgroup/cpuset
4mkdir -p /sys/fs/cgroup/cpu,cpuacct
5mkdir -p /sys/fs/cgroup/devices
6mkdir -p /sys/fs/cgroup/freezer
7mkdir -p /sys/fs/cgroup/memory
8mount cpuset
9mount cpuacct
10mount devices
11mount freezer
12mount memory