File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed
Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 2727 # Boot loader (override iso-image.nix default of 10)
2828 boot.loader.timeout = lib.mkForce 5;
2929
30+ # Give root tmpfs 80% of RAM (default 50% is too small for container images)
31+ fileSystems."/" = lib.mkForce {
32+ device = "tmpfs";
33+ fsType = "tmpfs";
34+ options = [ "size=80%" "mode=755" ];
35+ };
36+
3037 # QEMU guest agent for Proxmox/KVM integration
3138 services.qemuGuest.enable = true;
3239
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ echo "==> Downloading ISO to Proxmox"
1414ssh "$PVE" "curl -L -o /var/lib/vz/template/iso/bloud-test.iso '$URL'"
1515
1616echo "==> Creating VM $VMID"
17- ssh "$PVE" "qm create $VMID --name bloud-test --memory 4096 --cores 2 --ostype l26 \
17+ ssh "$PVE" "qm create $VMID --name bloud-test --memory 8192 --cores 2 --ostype l26 \
1818 --cdrom local:iso/bloud-test.iso --boot order=ide2 \
1919 --net0 virtio,bridge=vmbr0 --agent enabled=1 --serial0 socket"
2020
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ set -euo pipefail
2020# ── Configuration ─────────────────────────────────────────────────
2121PVE_HOST="${BLOUD_PVE_HOST:-root@192.168.0.62}"
2222VMID="${BLOUD_PVE_VMID:-9999}"
23- VM_MEMORY=4096
23+ VM_MEMORY=8192
2424VM_CORES=2
2525VM_NAME="bloud-test-iso"
2626ISO_STORAGE="/var/lib/vz/template/iso"
@@ -99,10 +99,10 @@ check() {
9999 echo -n " Checking $name... "
100100 if "$@" > /dev/null 2>&1; then
101101 echo -e "${GREEN}PASS${NC}"
102- ((PASSED++ ))
102+ PASSED=$ ((PASSED + 1 ))
103103 else
104104 echo -e "${RED}FAIL${NC}"
105- ((FAILED++ ))
105+ FAILED=$ ((FAILED + 1 ))
106106 fi
107107}
108108
@@ -135,7 +135,7 @@ if [ "$SKIP_DEPLOY" = false ]; then
135135 # Resolve ISO source
136136 if [ -z "$ISO_SOURCE" ]; then
137137 log "Finding latest GitHub release..."
138- ISO_SOURCE=$(gh release view --json assets --jq '.assets[] | select(.name | endswith(".iso")) | .url' 2>/dev/null || true)
138+ ISO_SOURCE=$(gh release view --json assets --jq '[ .assets[] | select(.name | endswith(".iso"))] | last | .url' 2>/dev/null || true)
139139 if [ -z "$ISO_SOURCE" ]; then
140140 err "No ISO source provided and no GitHub release found"
141141 exit 1
You can’t perform that action at this time.
0 commit comments