Questo contenuto non è disponibile nella lingua selezionata.

17.18. Method: listScripts


Description

List the pre and post scripts for a kickstart profile.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string ksLabel - The label of the kickstart
Returns

The following return values are available for this method:

  • array:
    • struct - kickstart script
      • int id
      • string contents
      • string script_type - The type of script; either 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 executes within the chroot environment.
      • boolean erroronfail - true if the script throws an error if it fails.
      • boolean template - true if templating using cobbler is enabled
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat