Skip to content

Commit c5166be

Browse files
committed
Make sure /sys/fs/cgroup is mounted on Alpine for container support
Signed-off-by: Jan Dubois <[email protected]>
1 parent 52287a2 commit c5166be

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)