mirror of
https://github.com/getcompanion-ai/computer-guest.git
synced 2026-04-15 06:04:38 +00:00
feat: add toys to guest image
This commit is contained in:
parent
f31a4aae35
commit
9f74e87348
6 changed files with 24 additions and 0 deletions
|
|
@ -179,6 +179,16 @@ if [ -f /etc/microagent/trusted_user_ca_keys ]; then
|
|||
chmod 0644 /etc/microagent/trusted_user_ca_keys
|
||||
fi
|
||||
|
||||
# Raise default process and file-descriptor limits for interactive sessions.
|
||||
ulimit -n 1048576 2>/dev/null || true
|
||||
ulimit -u 65536 2>/dev/null || true
|
||||
cat >/etc/security/limits.d/microagent.conf <<'LIMITS'
|
||||
* soft nofile 1048576
|
||||
* hard nofile 1048576
|
||||
* soft nproc 65536
|
||||
* hard nproc 65536
|
||||
LIMITS
|
||||
|
||||
if command -v jitterentropy-rngd >/dev/null 2>&1; then
|
||||
log "starting jitterentropy-rngd"
|
||||
jitterentropy-rngd -v >/var/log/jitterentropy.log 2>&1 &
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue