Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Guide d'installation Page 312

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 324
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 311
this option on the top of the Post-Installation window. This is equivalent to using the -
-nochroot option in the %post section.
To make changes to the newly installed file system, within the post-installation section, but out-
side of the chroot environment, you must prepend the directory name with /mnt/sysimage/.
For example, if you select Run outside of the chroot environment, the previous example
must be changed to the following:
echo "Hackers will be punished!" > /mnt/sysimage/etc/motd
11.2. Use an Interpreter
To specify a scripting language to use to execute the script, select the Use an interpreter op-
tion and enter the interpreter in the text box beside it. For example, /usr/bin/python2.2 can be
specified for a Python script. This option corresponds to using %post --interpreter /
usr/bin/python2.2 in your kickstart file.
12. Saving the File
To review the contents of the kickstart file after you have finished choosing your kickstart op-
tions, select File => Preview from the pull-down menu.
11.2. Use an Interpreter
296
Vue de la page 311
1 2 ... 307 308 309 310 311 312 313 314 315 316 317 ... 323 324

Commentaires sur ces manuels

Pas de commentaire