Loading Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -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"] compose.yml +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ services: image: qemux/qemu container_name: qemu environment: BOOT: "alpine" BOOT: "ubuntu" devices: - /dev/kvm - /dev/net/tun Loading kubernetes.yml +3 −3 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ spec: - ReadWriteOnce resources: requests: storage: 16Gi storage: 64Gi --- apiVersion: apps/v1 kind: Deployment Loading @@ -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 Loading readme.md +1 −1 Original line number Diff line number Diff line Loading @@ -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: Loading src/disk.sh +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -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"]
compose.yml +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ services: image: qemux/qemu container_name: qemu environment: BOOT: "alpine" BOOT: "ubuntu" devices: - /dev/kvm - /dev/net/tun Loading
kubernetes.yml +3 −3 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ spec: - ReadWriteOnce resources: requests: storage: 16Gi storage: 64Gi --- apiVersion: apps/v1 kind: Deployment Loading @@ -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 Loading
readme.md +1 −1 Original line number Diff line number Diff line Loading @@ -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: Loading
src/disk.sh +1 −1 Original line number Diff line number Diff line Loading @@ -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