Skip to content
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

Add support for DNF vars #1

Open
bootswithdefer opened this issue Nov 20, 2023 · 0 comments
Open

Add support for DNF vars #1

bootswithdefer opened this issue Nov 20, 2023 · 0 comments

Comments

@bootswithdefer
Copy link

Repo files can have variables, for example on Amazon Linux 2023 they use $awsdomain and $awsregion.

$ python3 dnfjson.py list
Errors during downloading metadata for repository 'asu-amazon-linux':
Error: Failed to download metadata for repo 'asu-amazon-linux': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Errors during downloading metadata for repository 'amazonlinux':
  - Curl error (3): URL using bad/illegal format or missing URL for https://al2023-repos-$awsregion-de612dc2.s3.dualstack.$awsregion.$awsdomain/core/mirrors/2023.2.20231113/x86_64/mirror.list [URL rejected: Bad hostname]

$ ls /etc/dnf/vars/
awsdomain  awsregion repoguid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant