Go to main content

Installing Oracle® Solaris 11.3 Systems

Exit Print View

Updated: April 2019
 
 
Chapter 13

Running a Custom Script During First Boot

    To perform any additional installation or configuration that cannot be done in the AI manifest or in a system configuration profile, you can create a script that is executed at first boot by a run-once SMF service.

  1. Create the first-boot script.

  2. Create the manifest for an SMF service that runs once at first boot and executes the script.

  3. Create an IPS package that contains the service manifest and the script.

  4. Add the package to an IPS package repository.

  5. Install that package during the AI installation by specifying that package in the AI manifest.

The service runs and executes the script at first reboot after the AI installation.