Trusted Solaris Installation and Configuration

Creating a JumpStart Directory on a Server

If you want to perform custom JumpStart installations by using a server on the network, you must create a JumpStart directory on the server. When you use a server for custom JumpStart installations, the JumpStart directory is a directory on the server that contains all the essential custom JumpStart files (for example, the rules file, rules.ok file, and profiles). The JumpStart directory should be owned by root and have permissions equal to 755.

How to Create a JumpStart Directory on a Server

Overview - The procedure to create a JumpStart directory on a server involves:

Follow this procedure to create a JumpStart directory on a server.

  1. Log on and assume the role root on the server where you want the JumpStart directory to reside.

  2. As root, at label admin_low, launch a terminal and create the JumpStart directory anywhere on the server.


    # mkdir jumpstart_dir_path
    

    In this command,

    jumpstart_dir_path

    Is the absolute path of the JumpStart directory.

    For example, the following command would create the directory called jumpstart in the root file system:


    # mkdir -p /jumpstart
    
  3. Share the directory.

    For details, see "How to Share a File System".

    1. Add the following entry:


      share -F nfs -o ro,anon=0 jumpstart_dir_path
      

      For example, the following entry would be correct for the example shown in Step 2:


      share -F nfs -o ro,anon=0 /jumpstart
      
  4. Share the file system.

    For example,


    # share /jumpstart
    
  5. Determine the next step based on the location of the Trusted Solaris image.

    If You Want to Use The ... 

    Then ... 

    Trusted Solaris CD in the local CDROM drive 

    1. As root, create a mount point at admin_low. For example:

      mkdir /cdrom

    2. Insert the Trusted Solaris CD into the CDROM drive.

    3. Go to Step 6.

    Trusted Solaris CD image on the local disk  

    1. Change the directory to the Trusted Solaris image on the local disk. For example:

      cd /export/install/ts7_sparc

    2. Do Step 8.

  6. As root, at label admin_low, allocate the CDROM drive and mount it.


    Do you want cdrom_n mounted: (y,n)? y
    

    See "To Allocate a Device" if you are unsure of the steps.

  7. Change the directory to the mounted CD:


    # cd /cdrom/cdrom0
    
  8. As root, at label admin_low, copy the contents of the jumpstart_sample directory into the JumpStart directory:


    # cp -r Trusted_Solaris_7/Misc/jumpstart_sample/* jumpstart_dir_path
    

    For example, the following command would copy the jumpstart_sample directory into the JumpStart directory created in Step 2:


    # cp -r Trusted_Solaris_7/Misc/jumpstart_sample/* /jumpstart 
    
  9. Deallocate the CDROM drive.

    See "To Deallocate a Device" if you are unsure of the steps.

    You have completed creating a JumpStart directory on the server.

  10. Continue with "Enabling Access to the JumpStart Directory".