Merge "Debian: Force cgroup to v1"

This commit is contained in:
Zuul 2022-05-12 19:30:20 +00:00 committed by Gerrit Code Review
commit 23bc8c6700
1 changed files with 3 additions and 0 deletions

View File

@ -1675,6 +1675,9 @@ else
wlog "TODO: system node install type kernel parameters, worker and storage"
fi
# Make sure that we are using cgroups v1
add_kernel_option "systemd.unified_cgroup_hierarchy=0"
ilog "Adding these kernel params to disk boot: ${KERN_OPTS}"
if [ -n "${KERN_OPTS}" ] ; then
grep -q "^kernel_params=" /boot/efi/EFI/BOOT/boot.env