Bug #28158
closedsatellite-change-hostname fails with error "illegal option
Description
Cloned from BZ:
Description of problem:
Satellite-hostname-change fails with the below error -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
satellite-change-hostname <newhostname> --username admin --password <adminpassword> -c "new_satellite.crt" -k "new_satellite.key" -r "new_satellite.csr"
Checking custom certificates
/usr/sbin/katello-certs-check: illegal option -- r
Verifies, that the custom SSL certificate files are usable
as part of the Red Hat Satellite installation. When passing filenames use absolute paths.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Version-Release number of selected component (if applicable):
Satellite 6.6
How reproducible:
Try to change the hostname of the satellite server using satellite-change-hostname