- Red Hat Satellite 5.6
- Postgre database
- How to delete kickstart profile from Red Hat Satellite postgre database?
First for precaution purpose lets take backup of the Red Hat Satellite Database,for more information on the same refer: Steps for Performing Online Database Backups
Now login to postgre database:
# spacewalk-sql -i
- Search the kickstart ID for the kickstart profile under the database:
rhnschema=# select id,label from rhnKickstartableTree;
- To Delete the selected kickstart profile execute this query:
rhnschema=# delete from rhnKickstartableTree where ID=<kickstart_id>;
- Commit the changes and quit.
rhnschema=# commit; rhnschema=#\q
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.