Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-23235

[RFE] Registration curl command output to show that the SSH keys are copied to the host

    • None
    • None
    • None
    • None

      Description of problem:

      When 'Setup REX' under the 'Advanced' section is selected as 'inherit from host parameter' or 'Yes', the SSH keys will be copied to the host upon running the generated 'curl' command. It would be nice if the output showed some message related to SSH keys, like 'Installing Insights client'.

      Currently, only the SELinux relabel message is shown within the command output.

      ---snip--

      Error: There are no enabled repositories in "/etc/yum.repos.d", "/etc/yum/repos.d", "/etc/distro.repos.d".
      The system has been registered with ID: 0b984791-4521-4440-978f-5cc683671b3f
      The registered system name is: example.redhat.com

      1. Running [example.redhat.com] host initial configuration
        /usr/sbin/restorecon
        Relabeled /root/.ssh from unconfined_u:object_r:ssh_home_t:s0 to system_u:object_r:ssh_home_t:s0
        Relabeled /root/.ssh/authorized_keys from unconfined_u:object_r:ssh_home_t:s0 to system_u:object_r:ssh_home_t:s0
        #
      2. Installing Insights client
        #
        Updating Subscription Management repositories.
        Waiting for process with pid 99786 to finish.
        Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 38 MB/s | 27 MB 00:00
        Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 37 MB/s | 15 MB 00:00
        convert2rhel 44 kB/s | 2.0 kB 00:00
        Dependencies resolved.

      --snip--

              Unassigned Unassigned
              rhn-support-mkalyat Mithun Kalyat
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: