mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
lxc: bump to 4.0.2
Signed-off-by: Robert Marko <robert.marko@sartura.hr> Signed-off-by: Marijan Svalina <marijan.svalina@sartura.hr> Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
This commit is contained in:
committed by
Luka Perkov
parent
34a4678db3
commit
9f43594e3a
@@ -58,3 +58,14 @@ stop() {
|
||||
fi
|
||||
}
|
||||
|
||||
#Export systemd cgroups
|
||||
boot() {
|
||||
if [ ! -d /sys/fs/cgroup/systemd ]; then
|
||||
mkdir -p /sys/fs/cgroup/systemd
|
||||
mount -t cgroup -o rw,nosuid,nodev,noexec,relatime,none,name=systemd cgroup /sys/fs/cgroup/systemd
|
||||
fi
|
||||
|
||||
if [ ! -d /run ]; then
|
||||
ln -s /var/run /run
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user