ironic_python_agent.extensions.rescue module

class ironic_python_agent.extensions.rescue.RescueExtension(agent=None)[source]

Bases: BaseAgentExtension

finalize_rescue(rescue_password='', hashed=False)[source]

Sets the rescue password for the rescue user.

write_rescue_password(rescue_password='', hashed=False)[source]

Write rescue password to a file for use after IPA exits.

Parameters:
  • rescue_password – Rescue password.

  • hashed – Boolean default False indicating if the password being provided is hashed or not. This will be changed in a future version of ironic.