control agent can now uboot commands

This commit is contained in:
2026-04-04 20:19:25 +08:00
parent 4f490ab37e
commit 517cc2e01d
19 changed files with 579 additions and 69 deletions

View File

@@ -7,6 +7,7 @@ rc-update add devfs sysinit
rc-update add procfs sysinit
rc-update add sysfs sysinit
rc-update add cgroups sysinit
rc-update add hwclock boot
rc-update add fancontrol boot
rc-update add loopback boot
rc-update add hostname boot

View File

@@ -31,7 +31,8 @@ if [ $? -ne 0 ]; then
exit $?
fi
sed -i "s/default_runtime = \"crun\"/\0\ncgroup_manager = \"cgroupfs\"/g" /etc/crio/crio.conf.d/10-crio.conf
sed -i -e "s/default_runtime = \"crun\"/\0\ncgroup_manager = \"cgroupfs\"/g" \
/etc/crio/crio.conf.d/10-crio.conf
grep cgroup_manager /etc/crio/crio.conf.d/10-crio.conf || exit 1
echo "##################################################### Installing Control Agent"

View File

@@ -0,0 +1,4 @@
[crio.runtime]
default_sysctls = [
"net.ipv4.ip_unprivileged_port_start=20"
]