kickstart.profile.software

Description

Provides methods to access and modify the software list associated with a kickstart profile.

Namespace:

kickstart.profile.software

Method: appendToSoftwareList

Description:

Append the list of software packages to a kickstart profile. Duplicate packages will be ignored.

Parameters:

  • string sessionKey

  • string ksLabel - The label of a kickstart profile.

  • [.string[]]string[] packageList - A list of package names to be added to the profile.

Returns:

  • int - 1 on success, exception thrown otherwise.

Method: getSoftwareDetails

Description:

Gets kickstart profile software details.

Parameters:

  • string sessionKey

  • string ksLabel - Label of the kickstart profile

Returns:

  • struct - Kickstart packages info

    • string "noBase" - Install @Base package group

    • string "ignoreMissing" - Ignore missing packages

Method: getSoftwareList

Description:

Get a list of a kickstart profile’s software packages.

Parameters:

  • string sessionKey

  • string ksLabel - The label of a kickstart profile.

Returns:

  • array :

    • string - Get a list of a kickstart profile’s software packages

Method: setSoftwareDetails

Description:

Sets kickstart profile software details.

Parameters:

  • string sessionKey

  • string ksLabel - Label of the kickstart profile

  • struct - Kickstart packages info

    • string "noBase" - Install @Base package group

    • string "ignoreMissing" - Ignore missing packages

Returns:

  • int - 1 on success, exception thrown otherwise.

Method: setSoftwareList

Description:

Set the list of software packages for a kickstart profile.

Parameters:

  • string sessionKey

  • string ksLabel - The label of a kickstart profile.

  • [.string[]]string[] packageList - A list of package names to be set on the profile.

Returns:

  • int - 1 on success, exception thrown otherwise.

Method: setSoftwareList

Description:

Set the list of software packages for a kickstart profile.

Parameters:

  • string sessionKey

  • string ksLabel - The label of a kickstart profile.

  • [.string[]]string[] packageList - A list of package names to be set on the profile.

  • boolean ignoremissing - Ignore missing packages if true

  • boolean nobase - Don’t install @Base package group if true

Returns:

  • int - 1 on success, exception thrown otherwise.