VM images Phase B: qcow2 support in publish-to-forgejo.sh (vm-images package) + import-only install.sh #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #6. Phase B of the "mostly working" VM-image plan.
Goal
Teach
src/publish-to-forgejo.shto publish the qcow2 VM artifacts, and emit animport-only PVE install helper.
Requirements
*.qcow2(+*.install.sh,*.manifest.txt) in addition to*.tar.zst. Publish under a separate packagevm-images(own version axis +latest, distinct fromlxc-templates), starting version0.1.0.remote_name()strip already shipped (66b2175) so registry names are…_amd64.qcow2.<artifact>.install.shas import-only:qm create(--serial0 socket --agent enabled=1 --scsihw virtio-scsi-single) →qm importdisk→qm set --scsi0 …,discard=on,ssd=1 --boot order=scsi0. Leaves the VM stopped and NON-template. Noqm template, noqm clone, noqm start, no cloud-init values — those are GUI actions on the operator side (PVE Cloud-Init tab).Note
Build host has no
qm; the script only emits the helper text.qmruns on the PVE host.