HOME


Mini Shell 1.0
DIR: /snap/core20/current/usr/share/apport/general-hooks/
Upload File :
Current File : //snap/core20/current/usr/share/apport/general-hooks/cloud-init.py
"""General Apport hook for all reports that are using cloud-init."""

from cloudinit.apport import general_add_info


def add_info(report, ui) -> None:
    """Entry point for Apport.

    Add a subset of non-sensitive cloud-init data from
    /run/cloud/instance-data.json that will be helpful for debugging.
    """
    general_add_info(report, ui)