Red Hat Training

A Red Hat training course is available for Red Hat Satellite

17.22. Method: setCfgPreservation

Description

Set ks.cfg preservation option for a kickstart profile.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string kslabel - Label of kickstart profile to be changed
  • boolean preserve - Defines whether or not ks.cfg and all %include fragments are copied to /root
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise