debloat + disk size VM
This commit is contained in:
parent
5fd446bc2f
commit
5852ba9925
6 changed files with 3 additions and 188 deletions
|
|
@ -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
|
||||
|
||||
########################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue