Apple Mac OS X Server System Imaging and Software Update Administration For Version 10.4 or Later Bedienungsanleitung Seite 41

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 89
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 40
Chapter 2 Creating Boot and Install Images 41
Installing Mac OS Updates
To use Network Install to install operating system updates on client computers, add the
system update package to an install image in the same way you would add any other
package. See “Adding Packages to a Boot or Install Image” on page 39.
You can download Mac OS updates from www.apple.com/support.
Adding Post-Install Scripts to Install Images
Post-install scripts let you make changes to software after it has been installed on client
computers. As the name implies, post-install scripts run at the end of the network
install process.
You can use the scripts to perform any tasks you want—within the limitations of the
scripts themselves. However, post-install scripts are typically used to make minor
changes to network-installed software when you don’t want to create additional install
images. For example, you may use post-install scripts to delete files, set startup items,
or create a user after installing software on a client computer.
Note: One good use of post-install scripts is to alter items in the ~/Library/Preferences/
ByHost folder to ensure that settings in the original image persist or to override them.
For example, you can create a script to replace the MAC address in the names of items
in the ByHost folder with the MAC address of the computer on which the image has
been installed. In this way, any imaged computer will retain the settings (such as
display and print preferences) in the original image.
Post-install scripts work only with install images created from volumes mounted on
your computer; they cannot be used with install images created from CDs. Post-install
scripts must be written as shell scripts. Perl scripts are not supported.
To add post-install scripts to a new install image youre creating using System Image
Utility, click the Add (+) button in the Contents pane and select the scripts you want
to add.
To add post-install scripts to an existing image, open System Image Utility, click Images,
and select the image in the list. Then click Edit, click the Add (+) button in the Contents
pane, and select the scripts you want to add.
When you create an install image with post-install scripts, System Image Utility copies
the scripts to the /var/db/emptyScriptFolder/ directory. The Network Install application
runs the scripts in the order that you add them to the image in System Image Utility.
The order of the scripts is recorded in the text file /private/etc/emptyScript, which
contains a list of the paths to each of the scripts. To change the order the scripts are
executed, edit the text file, which you can do by mounting the image on your server.
Seitenansicht 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 88 89

Kommentare zu diesen Handbüchern

Keine Kommentare