What is the command to find the serial number of a Content Host registered to Red Hat Satellite 6?
Issue
-
What is the command to find the serial number of a Content Host registered to Red Hat Satellite 6?
-
Not able to find the serial number of the Content Host which is registered to Red Hat Satellite by using the hammer commands :
# hammer csv content-hosts --export --file /tmp/reports.csv
# su - postgres -c "echo \"select name,updated_at,last_report,comment from hosts;\" | psql foreman" > /tmp/postgres_report.txt
Environment
- Red Hat Satellite 6.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.