diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:19:54 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:19:54 +0200 |
commit | c158582c0fc7f4bd73980fe9adad446855f4d61b (patch) | |
tree | 31b701a2367cb983e76e76cd7c2ba176ad33e5ac /recipes-containers/lxc/files/init-lxc-mount | |
download | meta-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-x | recipes-containers/lxc/files/init-lxc-mount | 12 |
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 | |||
3 | mkdir -p /sys/fs/cgroup/cpuset | ||
4 | mkdir -p /sys/fs/cgroup/cpu,cpuacct | ||
5 | mkdir -p /sys/fs/cgroup/devices | ||
6 | mkdir -p /sys/fs/cgroup/freezer | ||
7 | mkdir -p /sys/fs/cgroup/memory | ||
8 | mount cpuset | ||
9 | mount cpuacct | ||
10 | mount devices | ||
11 | mount freezer | ||
12 | mount memory | ||