We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
So I have a yml file where repo info is configured.
` version: '2' mpp-vars: distro_name: rhivos distro_copr_tree: epel distro_version: 9 distro_baseurl: https://qartifactory.com/ER4 distro_baseurl_repo: $distro_baseurl/RHIVOS/$arch/os/ distro_repos:
This repo needs a username and password to be accessed which I have provided in /etc/dnf/dnf.conf
[qartifactory] baseurl=https://qartifactory.com/ER4/RHIVOS/aarch64/os name=rhivos username=dummy-username password=dummy-password
but when I build the image dnf gives error saying can't download the metadata,
if I embed the credentials in the url itself and put that in the yaml file it works fine. But I don't want to hardcode credentials in the yml
What am I doing wrong
The text was updated successfully, but these errors were encountered:
jrohel
No branches or pull requests
So I have a yml file where repo info is configured.
`
version: '2'
mpp-vars:
distro_name: rhivos
distro_copr_tree: epel
distro_version: 9
distro_baseurl: https://qartifactory.com/ER4
distro_baseurl_repo: $distro_baseurl/RHIVOS/$arch/os/
distro_repos:
baseurl: $distro_baseurl/RHIVOS/$arch/os/
priority: 10
baseurl: https://mirror.stream.centos.org/SIGs/9-stream/automotive/$arch/packages-main/
distro_devel_repos: []
distro_debug_repos:
baseurl: $distro_baseurl/RHIVOS/$arch/debug/
priority: 10
distro_module_id: platform:el9
osname: rhel
uefi_vendor: redhat
linux_firmware_rpm: linux-firmware
release_rpm: redhat-release
`
This repo needs a username and password to be accessed which I have provided in /etc/dnf/dnf.conf
[qartifactory]
baseurl=https://qartifactory.com/ER4/RHIVOS/aarch64/os
name=rhivos
username=dummy-username
password=dummy-password
but when I build the image dnf gives error saying can't download the metadata,
if I embed the credentials in the url itself and put that in the yaml file it works fine. But I don't want to hardcode credentials in the yml
What am I doing wrong
The text was updated successfully, but these errors were encountered: