JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Installing Oracle Solaris 11.1 Systems     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

Part I Oracle Solaris 11.1 Installation Options

1.  Overview of Installation Options

Part II Installing Using Installation Media

2.  Preparing for the Installation

3.  Using Live Media

4.  Using the Text Installer

5.  Automated Installations That Boot From Media

6.  Unconfiguring or Reconfiguring an Oracle Solaris instance

Part III Installing Using an Install Server

7.  Automated Installation of Multiple Clients

8.  Setting Up an Install Server

9.  Customizing Installations

10.  Provisioning the Client System

11.  Configuring the Client System

12.  Installing and Configuring Zones

13.  Running a Custom Script During First Boot

Implementing Run Once at First Boot Controls

How to Ensure One Run at First Boot

Creating a Script to Run at First Boot

Creating an SMF Manifest File

Using the Manifest Creation Tool

Customizing the Generated Manifest

Creating an IPS Package for the Script and Service

How to Create and Publish the IPS Package

Installing the First-Boot Package on the AI Client

How to Install the IPS Package

Testing the First-Boot Service

How to Update the Script or Service

14.  Installing Client Systems

15.  Troubleshooting Automated Installations

Part IV Performing Related Tasks

A.  Working With Oracle Configuration Manager

B.  Using the Device Driver Utility

Index

Installing the First-Boot Package on the AI Client

Create a custom AI manifest file and add the new package, publisher, and repository information.

How to Install the IPS Package

  1. Add the package to the AI manifest.

    Add the package to the software installation section of the AI manifest. Either customize an AI manifest XML file or write a derived manifests script to add these elements. See Chapter 10, Provisioning the Client System for information about customizing an AI manifest.

    Use the installadm export command to retrieve the content of one or more existing AI manifests. The following example shows the XML elements you need to add.

    <software type="IPS">
      <source>
        <publisher name="solaris">
          <origin name="http://pkg.oracle.com/solaris/release"/>
        </publisher>
        <publisher name="firstboot">
          <origin name="file:///net/host1/export/firstbootrepo"/>
        </publisher>
      </source>
      <software_data action="install">
        <name>pkg:/first-boot-script</name>
      </software_data>
    </software>

    Make sure the origin is a URI the clients can access during AI installation. Use zfs set sharenfs to export the repository so that clients can access the local repository.

  2. Update the modified AI manifest in the AI install service.

    Use the installadm update-manifest command to replace the AI manifest content with the content that includes the first-boot script package. Any criteria or default status remain with the manifest or script following the update.

  3. Network boot the client.

    Network boot the client to use AI to install the Oracle Solaris 11 OS and your custom first-boot-script package. When the client is booted after installation, the service runs and executes the first-boot script.