Questo contenuto non è disponibile nella lingua selezionata.

20.2. addScript


Name
addScript
Description
Add a pre/post script to a kickstart profile.
Parameters
  • string sessionKey
  • string ksLabel - The kickstart label to add the script to.
  • string name - The kickstart script name.
  • string contents - The full script to add.
  • string interpreter - The path to the interpreter to use (i.e. /bin/bash). An empty string will use the kickstart default interpreter.
  • string type - The type of script (either 'pre' or 'post').
  • boolean chroot - Whether to run the script in the chrooted install location (recommended) or not.
Return Value
  • int id - the id of the added script
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.

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 ilBlog 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.

© 2024 Red Hat, Inc.