Skip to content

Commit

Permalink
Update start_chroot_script
Browse files Browse the repository at this point in the history
  • Loading branch information
dogi authored Feb 13, 2024
1 parent 9164324 commit 3a45ebe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/cube/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ apt autoremove -y
# /boot/version.txt
version="$DIST_NAME-$DIST_VERSION"
echo "writing version.txt: $version"
echo "$version" > /boot/version.txt
mkdir -p slashboot
echo "$version" > slashboot/version.txt
unpack slashboot /boot

# cgroup for kubernetes
sed -i -e 's#$# cgroup_memory=1 cgroup_enable=memory#' /boot/cmdline.txt

0 comments on commit 3a45ebe

Please sign in to comment.