feat: Increase default disk size to 64 GB (#828)

This commit is contained in:
Kroese
2025-09-21 01:48:50 +02:00
committed by GitHub
parent 4ad985140c
commit 8d754afc1f
6 changed files with 8 additions and 8 deletions

View File

@@ -61,6 +61,6 @@ EXPOSE 22 5900 8006
ENV BOOT="alpine"
ENV CPU_CORES="2"
ENV RAM_SIZE="2G"
ENV DISK_SIZE="16G"
ENV DISK_SIZE="64G"
ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"]

View File

@@ -3,7 +3,7 @@ services:
image: qemux/qemu
container_name: qemu
environment:
BOOT: "alpine"
BOOT: "ubuntu"
devices:
- /dev/kvm
- /dev/net/tun

View File

@@ -8,7 +8,7 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: 16Gi
storage: 64Gi
---
apiVersion: apps/v1
kind: Deployment
@@ -31,9 +31,9 @@ spec:
image: qemux/qemu
env:
- name: BOOT
value: "alpine"
value: "ubuntu"
- name: DISK_SIZE
value: "16G"
value: "64G"
ports:
- containerPort: 8006
name: http

View File

@@ -156,7 +156,7 @@ kubectl apply -f https://raw.githubusercontent.com/qemus/qemu/refs/heads/master/
### How do I change the size of the disk?
To expand the default size of 16 GB, add the `DISK_SIZE` setting to your compose file and set it to your preferred capacity:
To expand the default size of 64 GB, add the `DISK_SIZE` setting to your compose file and set it to your preferred capacity:
```yaml
environment:

View File

@@ -476,7 +476,7 @@ addDisk () {
[ ! -d "$DIR" ] && return 0
SPACE="${DISK_SPACE// /}"
[ -z "$SPACE" ] && SPACE="16G"
[ -z "$SPACE" ] && SPACE="64G"
[ -z "${SPACE//[0-9. ]}" ] && SPACE="${SPACE}G"
SPACE=$(echo "${SPACE^^}" | sed 's/MB/M/g;s/GB/G/g;s/TB/T/g')

View File

@@ -19,7 +19,7 @@ echo " For support visit $SUPPORT"
: "${CPU_CORES:="2"}" # Amount of CPU cores
: "${RAM_SIZE:="2G"}" # Maximum RAM amount
: "${RAM_CHECK:="Y"}" # Check available RAM
: "${DISK_SIZE:="16G"}" # Initial data disk size
: "${DISK_SIZE:="64G"}" # Initial data disk size
: "${BOOT_MODE:=""}" # Boot system with UEFI
: "${BOOT_INDEX:="9"}" # Boot index of CD drive
: "${STORAGE:="/storage"}" # Storage folder location