Sun N1 System Manager 1.3 Operating System Provisioning Guide

ProcedureTo Copy an OS Distribution From ISO Files

This procedure describes how to copy an OS distribution to the management server from a set of ISO files by using the command line.


Note –

After a distribution is copied, an OS profile of the same name is created by default. This profile appears in the OS Profiles list in the Task Shortcuts pane of the browser interface or by typing show osprofile all at the N1–ok> prompt.


Before You Begin
Steps
  1. Log in to the N1 System Manager.

    See To Access the N1 System Manager Command Line in Sun N1 System Manager 1.3 Discovery and Administration Guide for details.

  2. Type the following command:


    N1-ok> create os os-name file file[,file...]

    The file identifies the absolute full path name to the file.

    See create os in Sun N1 System Manager 1.3 Command Line Reference Manual for details.

  3. Verify that the OS distribution was copied.


    N1-ok> show os all
    

    The OS distribution appears in the output.


Example 2–2 Creating an OS Distribution from a File

The following example shows how to create an OS distribution for Solaris 10 from a single Solaris DVD ISO file.


N1-ok> create os solaris_ver10 file /tmp/solaris_10_dvd.iso
Job "7" started.


Example 2–3 Creating an OS Distribution from Several Files

The following example shows how to create an OS distribution for Red Hat Linux from several ISO files. This command must be typed as a single line.


N1-ok> create os RHEL30 file 
/os/RHEL3/RHEL3AS-U3-re1215.RC1.0-i386-disc1.iso, 
/os/RHEL3/RHEL3AS-U3-re1215.RC1.0-i386-disc2.iso, 
/os/RHEL3/RHEL3AS-U3-re1215.RC1.0-i386-disc3.iso, 
/os/RHEL3/RHEL3AS-U3-re1215.RC1.0-i386-disc4.iso

See Also

To find out how to load the OS distribution, see To Load an OS Profile on a Server or a Server Group.