Does Red Hat Enterprise Linux 7 anaconda has `nogpgcheck` option for it's repo parameter?
Issue
- If the following
repo
lines are mentioned in the kickstart file,
repo --name="mariadb100" --baseurl=http://example/yum/mariadb/7/7Server/x86_64/mariadb100/ --install
- It creates the following file
/etc/yum.repos.d/mariadb100.repo
withgpgcheck=1
[mariadb100]
name=mariadb100
enabled=1
baseurl=http://repohost/yum/mariadb/7/7Server/x86_64/mariadb100/
- How can one create a
yum repo
with GPG checking disabled within a kickstart script? Is it possible to add a--nogpgcheck
or similar flag?
Environment
- Red Hat Enterprise Linux 7
- Kickstart
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.