Apply Firmware Password

Last Revision:
Version 1.0, 2007-06-12
First Version
Build Requirements:
Xcode Tools 3.0 and Mac OS X version 10.5.
Runtime Requirements:
Mac OS X version 10.5 and System Image Utility version 10.5

System Administrators can use package installers to customize the deployment workflow created by System Image Utility. While package installers are typically leveraged for software installation, they also function well as shell script containers. Shell scripts have been used for deployments for years, but they tend to make managed mass deployment daunting for less experienced system administrators. This example demonstrates how to build an AppleScript-based, System Image Utility Automator Action that conceals the complexities of a shell-based post-restore task.

This Automator Action includes a shell payload-free package installer. When run, the action will copy the package to /tmp and modify parameters in the postflight script to match user choices. System Image Utility passes an image information dictionary as input to each Automator Action in the workflow. By adding the package's path to the packageList array within this imageInfo dictionary, System Image Utility's Create Image action will copy the referenced package installer into the NetInstall set, and the client will install that package at restore time. The package installer won't actually install anything, but will then run the modified postflight script.