20.26. setCfgPreservation

Name
setCfgPreservation
Description
Set ks.cfg preservation option for a kickstart profile.
Parameters
  • string sessionKey
  • string kslabel - Label of kickstart profile to be changed.
  • boolean preserve - whether or not ks.cfg and all %include fragments will be copied to /root.
Return Value
  • int - 1 on success, exception thrown otherwise.