Skip to content

CentOS EPEL Repo User Input #67

@0x6d6f7468

Description

@0x6d6f7468

Issue Description

During Ansible installation, we enable several repositories. For CentOS specifically, we do not provide the -y/--yes flag to the EPEL repository installation command, meaning that it pauses for user input.

Current Behavior

Running the installer on a CentOS machine results in the following pause for user input:

== Checking sudo; if asked for a password this will be your user password on the machine running the installer.
[sudo] password for acm:
== Patching system
== Enable additional repository/repositories
CentOS Stream 9 - BaseOS                       84 kB/s | 6.7 kB     00:00
CentOS Stream 9 - AppStream                    27 kB/s | 6.8 kB     00:00
CentOS Stream 9 - CRB                         6.6 MB/s | 7.2 MB     00:01
Dependencies resolved.
==============================================================================
 Package                 Architecture Version       Repository           Size
==============================================================================
Installing:
 epel-next-release       noarch       9-7.el9       extras-common       8.1 k
 epel-release            noarch       9-7.el9       extras-common        19 k

Transaction Summary
==============================================================================
Install  2 Packages

Total download size: 27 k
Installed size: 29 k
Is this ok [y/N]:

Desired Behavior

The installer should bypass user input prompts for repository addition (as well as any package installations), similar to how the installer behaves on Rocky:

== Checking sudo; if asked for a password this will be your user password on the machine running the installer.
[sudo] password for acm:
== Patching system
== Enable additional repository/repositories
Rocky Linux 9 - CRB                             3.5 MB/s | 2.8 MB     00:00
Dependencies resolved.
================================================================================
 Package               Architecture    Version            Repository       Size
================================================================================
Installing:
 epel-release          noarch          9-7.el9            extras           19 k
                                                                                                                                                                                                                                              Transaction Summary
================================================================================
Install  1 Package

Total download size: 19 k
Installed size: 26 k
Downloading Packages:
epel-release-9-7.el9.noarch.rpm                  85 kB/s |  19 kB     00:00
--------------------------------------------------------------------------------
Total                                            63 kB/s |  19 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : epel-release-9-7.el9.noarch                            1/1
  Running scriptlet: epel-release-9-7.el9.noarch                            1/1
Many EPEL packages require the CodeReady Builder (CRB) repository.
It is recommended that you run /usr/bin/crb enable to enable the CRB repository.

  Verifying        : epel-release-9-7.el9.noarch                            1/1

Installed:
  epel-release-9-7.el9.noarch

Complete!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions