Skip to content

Commit 908a0b9

Browse files
authored
Fix install script raspi cmdline message (k3s-io#12842)
* Fix install script raspi cmdline message Signed-off-by: Zachary Spar <[email protected]>
1 parent 3854eb5 commit 908a0b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ has_working_xtables() {
11131113
# --- startup systemd or openrc service ---
11141114
service_enable_and_start() {
11151115
if ! grep -qs memory /sys/fs/cgroup/cgroup.controllers && ! [ "$(grep -s memory /proc/cgroups | while read -r n n n enabled; do echo $enabled; done)" = "1" ]; then
1116-
info 'Failed to find memory cgroup, you may need to add "cgroup_memory=1 cgroup_enable=memory" to your linux cmdline (/boot/cmdline.txt on a Raspberry Pi)'
1116+
info 'Failed to find memory cgroup, you may need to add "cgroup_memory=1 cgroup_enable=memory" to your linux cmdline (/boot/firmware/cmdline.txt on a Raspberry Pi)'
11171117
fi
11181118
11191119
[ "${INSTALL_K3S_SKIP_ENABLE}" = true ] && return

install.sh.sha256sum

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
40b487f0d8ef4f5d1bf422e7bb6228cc7789c40ecc66c5ab067d396bbee9816e install.sh
1+
08ffd92c47a886edd56ce97734f3d67e7f6115f07295dcdcdc6df7ea2c0bee1a install.sh

0 commit comments

Comments
 (0)