Red Hat Training

A Red Hat training course is available for Red Hat Satellite

17.21. Method: setAdvancedOptions

Description

Set advanced options for a kickstart profile. If md5_crypt_rootpw is set to True, root_pw is taken as plain text and MD5 encrypted on server side, otherwise a hash encoded password (according to the auth option) is expected

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string ksLabel
  • array:
    • struct - advanced options
      • string name - Name of the advanced option. Valid option names: autostep, interactive, install, upgrade, text, network, cdrom, harddrive, nfs, url, lang, langsupport keyboard, mouse, device, deviceprobe, zerombr, clearpart, bootloader, timezone, auth, rootpw, selinux, reboot, firewall, xconfig, skipx, key, ignoredisk, autopart, cmdline, firstboot, graphical, iscsi, iscsiname, logging, monitor, multipath, poweroff, halt, services, shutdown, user, vnc, zfcp, driverdisk, md5_crypt_rootpw
      • string arguments - Arguments of the option
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise