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

20.21. listScripts


Name
listScripts
Description
List the pre and post scripts for a kickstart profile in the order they will run during the kickstart.
Parameters
  • string sessionKey
  • string ksLabel - The label of the kickstart
Return Value
  • array:
    • struct - kickstart script
      • int id
      • string name
      • string contents
      • string script_type - Which type of script ('pre' or 'post').
      • string interpreter - The scripting language interpreter to use for this script. An empty string indicates the default kickstart shell.
      • boolean chroot - True if the script will be executed within the chroot environment.
      • boolean erroronfail - True if the script will throw an error if it fails.
      • boolean template - True if templating using cobbler is enabled
      • boolean beforeRegistration - True if script will run before the server registers and performs server actions.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.