Unverified Commit 8d754afc authored by Kroese's avatar Kroese Committed by GitHub
Browse files

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

parent 4ad98514
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"]
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ services:
    image: qemux/qemu
    container_name: qemu
    environment:
      BOOT: "alpine"
      BOOT: "ubuntu"
    devices:
      - /dev/kvm
      - /dev/net/tun
+3 −3
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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:
+1 −1
Original line number Diff line number Diff line
@@ -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')

Loading