Red Hat Training

A Red Hat training course is available for Red Hat Satellite

20.17. Method: setLocale

Description

Sets the locale for a kickstart profile.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string ksLabel - The kickstart profile label
  • string locale - The locale code
  • boolean useUtc
    • true - The hardware clock uses UTC
    • false - The hardware clock does not use UTC
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise