Red Hat NETWORK 3.6 - Spécifications Page 30

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 42
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 29
Like its components, this script may be centrally located. By placing this script in the /pub/ directory of
the server, running wget -O- on it, and piping the output to a shell session, one may run the entire
bootstrap process with a single command from each client:
wget -O - http://proxy-or-sat.example.com.com/pub/bootstrap_script | bash
Warning
Running a shell script directly from input piped in over a Web connection obviously has some
inherent security risks. T herefore, it is vital to ensure the security of the source server in this
instance.
This one-line command may then be invoked across all of the systems on a network. If the administrator
has SSH access to all of the systems in question, it would be a simple task to iterate over a list of these
systems and run the command remotely on all of them. T his script would also be a perfect addition to the
%post section of an existing kickstart script.
Chapter 6. Manually Scripting the Configuration
27
Vue de la page 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 41 42

Commentaires sur ces manuels

Pas de commentaire