-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Centos Stream 9 template #1391
Comments
Looks like there's an upstream bug already filed for this that you can track. |
@elreydetoda It looks like this was resolved upstream: https://bugzilla.redhat.com/show_bug.cgi?id=2027833#c2 Can you please confirm this works for you now? EDIT: It looks like they still need to fix the |
Thanks @ramereth ! I think it should be fine for this project if I switch to the one that they are appending with .SHA256SUM, but good call on letting them know the file isn't fixed for that one yet. |
So, for now till hashicorp/packer-plugin-qemu#63 gets resolved, we can at least plug in a specific mirror and have everything build properly. I guess what is the best mirror for the bento project, this is what came back for me: $ curl -sSw '%{redirect_url}' -o /dev/null 'https://mirrors.centos.org/mirrorlist?path=/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-dvd1.iso.SHA256SUM&redirect=1&protocol=https' ; echo
https://ftp-osl.osuosl.org/pub/centos-stream/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-dvd1.iso.SHA256SUM
$ curl -sSw '%{redirect_url}' -o /dev/null 'https://mirrors.centos.org/mirrorlist?path=/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-dvd1.iso&redirect=1&protocol=https' ; echo
https://ord.mirror.rackspace.com/centos-stream/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-dvd1.iso |
@elreydetoda feel free to point directly at our mirrors for this: https://centos-stream.osuosl.org/ to bypass the issue with mirrorlist redirections. |
This would be very useful. |
Describe the Enhancement:
Trying to add a centos stream 9 template, but unfortunately the mirrors aren't providing a hash for the symlinked latest file:
CentOS-Stream-9-latest-x86_64-dvd1.iso
as you can see in the picture below.Describe the Need:
There needs to be a consistent way of getting the needed information to populate a template.
Current Alternative
there is some interaction with upstream again (like last time) to have this resolved
Can We Help You Implement This?:
I don't think so yet, I'm going to engage @hashicorp's packer team to see if they can implement an http data source for the new packer HCL. If this project isn't apposed to it, I'd like to work on a HCL alternative for building the CentOS stream image. Once the http data source is implemented I should be able to use string manipulation functions with packer's HCL to substitute the needed characters in so the checksums will match the ISO name. Because the two ISOs are the same:
related: #1361 #1368 @ramereth (since he's contributed CentOS stream stuff before)
The text was updated successfully, but these errors were encountered: