From 8bdc165476c056f9ebe3d4a8fcd29add7967fd87 Mon Sep 17 00:00:00 2001 From: Philip Peterson <1326208+philip-peterson@users.noreply.github.com> Date: Mon, 2 Nov 2026 04:22:23 -0900 Subject: [PATCH] Disk image: installs follow registry.quineglobal.com, not localhost/ An install follows the image name its disk was built from, and the disk image was built from localhost/quine-linux, so disk-image installs could never update ("pinging container registry localhost ... connection refused"). Tag the image as UPDATE_IMAGE and build from that name, as the live ISO's installs already follow. Checked with bootc-image-builder's manifest: target-imgref is registry.quineglobal.com/quine-linux:latest, no localhost/. Co-Authored-By: Claude Opus 5.5 --- Taskfile.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Taskfile.yml b/Taskfile.yml index a3da387..342b04b 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -81,6 +81,15 @@ tasks: - task: build-image - task: export-to-storage vars: { IMAGES: "{{.IMAGE}}" } + # An install follows the image name its disk was built from for + # updates, so build it from UPDATE_IMAGE's name, not localhost/: + # same image, under the name installs should pull from. + # (bootc-image-builder's --target-imgref did this; image-builder + # dropped it.) + - >- + {{if eq .CONTAINER_RUNTIME "podman"}}{{.SUDO}} podman tag localhost/{{.IMAGE}} {{.UPDATE_IMAGE}}{{else}}{{.SUDO}} {{.CONTAINER_RUNTIME}} run --rm --privileged + -v {{.STORAGE}}:/var/lib/containers/storage {{.SKOPEO_IMAGE}} + copy containers-storage:localhost/{{.IMAGE}}:latest containers-storage:{{.UPDATE_IMAGE}}{{end}} - mkdir -p {{.OUTPUT_DIR}} # Root on btrfs, as Aurora installs it: disk/config.toml. - >- @@ -91,7 +100,7 @@ tasks: -v {{.STORAGE}}:/var/lib/containers/storage {{.BIB_IMAGE}} --type qcow2 - localhost/{{.IMAGE}} + {{.UPDATE_IMAGE}} generates: - "{{.OUTPUT_DIR}}/qcow2/disk.qcow2"