Skip to content

Commit 5fb7526

Browse files
authored
Merge pull request #67 from rancher-sandbox/alpine-cgroup
Make sure /sys/fs/cgroup is mounted on Alpine for container support
2 parents 52287a2 + c5166be commit 5fb7526

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/cidata/user-data.TEMPLATE

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ write_files:
140140
# Install the openrc lima-guestagent service script
141141
mv /var/lib/lima-guestagent/lima-guestagent.openrc /etc/init.d/lima-guestagent
142142
143+
# mount /sys/fs/cgroup
144+
rc-service cgroups start
145+
143146
# `limactl stop` tells acpid to powerdown
144147
rc-update add acpid
145148
rc-service acpid start

0 commit comments

Comments
 (0)