debloat + disk size VM

This commit is contained in:
criz 2026-01-10 00:44:58 +01:00
parent 5fd446bc2f
commit 5852ba9925
6 changed files with 3 additions and 188 deletions

View file

@ -7,6 +7,7 @@ set -euo pipefail
VM_NAME="forgejo-runner-vm"
IMAGE="images:debian/trixie"
MEMORY="2GiB"
DISK="25GiB"
CPUS="4"
########################################
@ -30,7 +31,8 @@ else
incus launch "$IMAGE" "$VM_NAME" \
--vm \
-c limits.memory="$MEMORY" \
-c limits.cpu="$CPUS"
-c limits.cpu="$CPUS" \
--device root,size="$DISK"
fi
########################################