pyanaconda.modules.runtime.scripts.scripts_interface

Classes

ScriptsInterface

DBus interface for the scripts module.

Module Contents

class pyanaconda.modules.runtime.scripts.scripts_interface.ScriptsInterface[source]

Bases: pyanaconda.modules.common.base.KickstartModuleInterfaceTemplate

DBus interface for the scripts module.

RunScriptsWithTask(script_type)[source]

Run all scripts of given type sequentially with task.

The types of scripts: kickstart scripts: KS_SCRIPT_PRE = 0 KS_SCRIPT_POST = 1 KS_SCRIPT_TRACEBACK = 2 KS_SCRIPT_PREINSTALL = 3 KS_SCRIPT_ONERROR = 4 :param script_type: Type of scripts to be run. :return: a DBus path of the task

Parameters:

script_type (Int)

Return type:

ObjPath