-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
I think the http cache code the installer carries is an artifact leftover from the V1 pipeline. Previously it was fetching an unversioned URL which could change.
Today, the installer does a 2-phase fetch and the URL of e.g. a -qemu.qcow2 contains a version number and further is by design immutable. The RHCOS pipeline will never overwrite a build.
So...the way I propose this work is that the installer drops the http cache code and instead downloads the image and then uploads it in to the libvirt pool (and ideally then deletes it from the cache). vagrant-libvirt does something like this.
I think the installer can assume it owns images starting with redhat-coreos?