get_preferred_injection_method


Description:

[ Version ( since = "1.3.0" ) ]
public InstallScriptInjectionMethod get_preferred_injection_method ()

Parameters:

this

the install script

Returns:

the preferred injection method for the script. If none is set and OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_DISK is supported, OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_DISK is returned, otherwise OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_INITRD is returned.




2022 vala-language.org