-
Notifications
You must be signed in to change notification settings - Fork 45
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
Incorrect package url when using -syncer-packages-url #897
Comments
Hello @alejandro-ripoll and thanks for report. The Let us know if it solves your issue. |
Hi @tormath1, that works. |
Hello @alejandro-ripoll, I just added a small note under the example with the |
Description
After enabling -syncer-packages-url, {{ARCH}} is replaced with "amd64" instead of "amd64-usr" on packages url, causing download to fail.
Impact
Unable to download flatcar updates using -syncer-packages-url.
Environment and steps to reproduce
Setup a corporate proxy on https:///myrepository/raw-proxy-flatcar/ for https://update.release.flatcar-linux.net/.
Configure Nebraska with
-syncer-packages-url=https:///myrepository/raw-proxy-flatcar/{{ARCH}}/{{VERSION}}
Expected behavior
URL for packages created by syncer should be valid.
Additional information
Nebraska version: 2.9.0
Relevant code:
https://github.com/flatcar/nebraska/blob/main/backend/pkg/syncer/syncer.go#L386
https://github.com/flatcar/nebraska/blob/main/backend/pkg/syncer/syncer.go#L292
The text was updated successfully, but these errors were encountered: