You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace the type-the-numbers template picker with an inline @clack/prompts
grouped multiselect: arrow-key navigation, space to toggle, group headers that
toggle a whole OS family, and a to select all.
Add a VMID review step before install. When a suggested VMID is taken you can now Proceed, Edit the VMID inline (validated as free), or Skip the
template — instead of a silent auto-reassign behind a [Y/n].
Add a local version cache at ~/.coport/cache.json recording each installed
template's VMID, storage, and version (sha256/built_at). -l, --list prints it; --upgrade re-pulls only templates whose registry version changed, reusing the
cached VMID so you never re-enter it.
Add -a, --all to install every template (respecting --group/--filter) with
suggested/cached VMIDs and no prompts, and --select <spec> for explicit
non-interactive selection (all, 1,3-5, template names, or group ids — a
group id expands to its whole family).
Accept the registry inline or piped: coport '{…}' takes a JSON document
directly, and coport - (or any non-TTY stdin) reads it from stdin
(cat registry.json | coport -a -). Interactive prompts reopen /dev/tty so the
TUI still works when stdin carries the registry.
Read consumer defaults from ~/.config/coport/config.toml, including ${VAR} interpolation, while retaining ~/.coport/config.json support for
existing installations.
Add coport --config to show the resolved registry, storage, source, and
config file without starting an installation.
Fixed
Detect VMID collisions cluster-wide. /etc/pve/qemu-server and /etc/pve/lxc
are symlinks to the local node, so a VMID already in use by a guest on another
node looked free and the install only failed at qmrestore — after
downloading the multi-GB artifact. The cluster-wide /etc/pve/.vmlist is now
the primary source, falling back to scanning /etc/pve/nodes/*/{qemu-server,lxc}/*.conf when it is missing or malformed.
Abort instead of assigning a VMID when cluster state is unreadable. If /etc/pve itself could not be read (e.g. pmxcfs unmounted during a pve-cluster restart), both the .vmlist read and the directory scan came
back empty and coport treated that as an empty cluster. A parseable .vmlist
stays authoritative, but an empty scan is now only trusted when at least one
guest-config directory is readable.
Continue using the storage default from the config file when the registry is
supplied as a command-line argument, environment variable, or stdin stream.
Report malformed config and unresolved ${VAR} references explicitly instead
of silently treating them as empty settings.
Build the coport-linux-x64 release binary with Bun's bun-linux-x64-baseline
target so it runs on pre-Haswell CPUs without AVX2 (e.g. Ivy Bridge Xeon E5 v2).
Previously the default target emitted AVX2 instructions and crashed immediately
with Illegal instruction on those nodes. coport is I/O-bound, so the baseline
ISA has no measurable cost.