Skip to content

Commit 714b77c

Browse files
committed
test: remove kargs "systemd.unified_cgroup_hierarchy=0"
"systemd.unified_cgroup_hierarchy=0" does not work with CS10 It caused boot failure with error: [!!!!!!] Refusing to run under cgroup v1, SY… specified on kernel command line. Signed-off-by: Xiaofeng Wang <[email protected]>
1 parent b3cead0 commit 714b77c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/e2e/bootc-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ kargs = ["mitigations=on", "nosmt"]
129129
EOF
130130
RUN mkdir -p /usr/lib/bootc/kargs.d
131131
RUN cat <<EOF >> /usr/lib/bootc/kargs.d/01-console.toml
132-
kargs = ["systemd.unified_cgroup_hierarchy=0","console=ttyS0","panic=0"]
132+
kargs = ["console=ttyS0","panic=0"]
133133
EOF
134134
REALEOF
135135

@@ -263,7 +263,7 @@ ansible-playbook -v \
263263
-e test_os="$TEST_OS" \
264264
-e bootc_image="$TEST_IMAGE_URL" \
265265
-e image_label_version_id="$REDHAT_VERSION_ID" \
266-
-e kargs="mitigations=on,nosmt,systemd.unified_cgroup_hierarchy=0,console=ttyS0,panic=0" \
266+
-e kargs="mitigations=on,nosmt,console=ttyS0,panic=0" \
267267
playbooks/check-system.yaml
268268

269269
# Prepare upgrade containerfile

tests/e2e/playbooks/check-system.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@
356356
register: result_selinux_denied
357357
become: true
358358
ignore_errors: true
359-
359+
360360
# case: check karg
361361
- name: grep for kargs
362362
shell: cat /proc/cmdline | grep {{item}}

0 commit comments

Comments
 (0)