mirror of
https://github.com/getcompanion-ai/computer-guest.git
synced 2026-04-15 08:03:40 +00:00
fix: xfce session crash, 10gb disk with resize on boot
This commit is contained in:
parent
75b229f470
commit
b3d76bfa76
3 changed files with 32 additions and 0 deletions
|
|
@ -100,6 +100,8 @@ mountpoint -q /run || mount -t tmpfs tmpfs /run
|
|||
mkdir -p /tmp /var/tmp /run/sshd /var/log
|
||||
chmod 1777 /tmp /var/tmp
|
||||
|
||||
resize2fs /dev/vda >/dev/null 2>&1 || true
|
||||
|
||||
cleanup() {
|
||||
trap - INT TERM
|
||||
[ -n "${rng_pid:-}" ] && kill "$rng_pid" >/dev/null 2>&1 || true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue