How to delete kickstart profile from Red Hat Satellite postgre database?

Solution Unverified - Updated -

Environment

  • Red Hat Satellite 5.6
  • Postgre database

Issue

  • How to delete kickstart profile from Red Hat Satellite postgre database?

Resolution

# 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.

Comments