Add iso2lxc: convert TurnKey ISO to Proxmox LXC template#46
Add iso2lxc: convert TurnKey ISO to Proxmox LXC template#46marcos-mendez wants to merge 1 commit intoturnkeylinux-apps:masterfrom
Conversation
Extracts squashfs from product ISO and repackages as a Proxmox-compatible
LXC container template (.tar.gz), following TKL naming convention.
Removes device nodes, kernel modules, and mount points that break
unprivileged containers. Masks kernel-dependent systemd services.
Usage: run 'iso2lxc' from any product directory after 'make'.
Output: build/debian-{VER}-turnkey-{APP}_{TKLVER}-{REV}_{ARCH}.tar.gz
|
Thanks for your mate. But I'm guessing that you missed https://github.com/turnkeylinux/buildtasks? Explicitly FYI when we publish all apps, we use the top level The only caveat is that it expects an existing iso with our iso naming convention. E.g. TBH that repo has accumulated a lot of cruft over the years and ideally I'd like to consolidate, clean and update it all; then package it, but it works... I'm totally open to you building on those to make them more flexible for your needs, but I'd rather keep all the build stuff together. |
Summary
Add
iso2lxcutility to/usr/local/sbin/for converting TurnKey product ISOs into Proxmox-compatible LXC container templates.Usage
What it does
Tested
Built and deployed Moodle v19 as unprivileged LXC on Proxmox 6.8.