Skip to content

Build template disk in tmpfs when available and relocate after shutdown - #63

Merged
cloudcell merged 1 commit into
masterfrom
sync-20261016-2044Z
Oct 16, 2026
Merged

cloudcell merged 1 commit into
masterfrom
sync-20261016-2044Z

Conversation

@cloudcell

Copy link
Copy Markdown
Owner
  • Detect /dev/shm capacity and use tmpfs build directory when >= LABLOOP_TMPFS_MIN_G (default 48G)
  • Create qcow2 in BUILD_DIR with cache=unsafe for RAM-backed builds
  • Move finished image from tmpfs to IMG_DIR after shutdown
  • Normalize stored XML: rewrite relocated disk path and strip cache='unsafe'
  • Switch to --install bootdev=cdrom and attach ISO via SCSI controller
  • Add console=tty0 to installer boot parameters alongside

* Detect /dev/shm capacity and use tmpfs build directory when >= LABLOOP_TMPFS_MIN_G (default 48G)
* Create qcow2 in BUILD_DIR with cache=unsafe for RAM-backed builds
* Move finished image from tmpfs to IMG_DIR after shutdown
* Normalize stored XML: rewrite relocated disk path and strip cache='unsafe'
* Switch to --install bootdev=cdrom and attach ISO via SCSI controller
* Add console=tty0 to installer boot parameters alongside
@cloudcell
cloudcell merged commit c2da41c into master Oct 16, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant