Does Red Hat Enterprise Linux 7 anaconda has `nogpgcheck` option for it's repo parameter?

Solution Verified - Updated -

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 with gpgcheck=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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content