Update script for new cgroup version

This commit is contained in:
Manuel Thalmann 2024-12-04 16:47:11 +01:00
parent d2522d42a3
commit 6d221cf07c

View file

@ -18,7 +18,7 @@ begin
"lxc.mount.entry = $(realpath "$dir/../..") $valhallaRoot none bind 0 0" \
"" \
"# VPN" \
"lxc.cgroup.devices.allow = c 10:200 rwm" \
"lxc.cgroup2.devices.allow = c 10:200 rwm" \
"lxc.mount.entry = /dev/net dev/net none bind,create=dir 0 0"
end | sudo tee -a "$containerDir/config" >/dev/null