此内容没有您所选择的语言版本。

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
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部