Access the n1sh shell or go to the command line in the N1 System Manager browser.
N1-ok> |
To define a link to the diskless client image, use the create os command.
When you define the link to the diskless client image, a default OS profile is created automatically.
N1-ok> create os os-name type os-type format diskless \ tftpserver ip kernelimage path-to-kernelimage \ bootimage1 path-to-bootimage1 bootimage2 path-to-bootimage2 |
Where:
os-name is a unique name for the distribution image. The os-name may include numbers, letters, and some special symbols. The following special symbols are prohibited: comma (,), asterisk (*), single quote ('), double quote (“), parenthesis (), question mark (?), equal sign (=), and newline (\).
ip identifies the IP address of the TFTP server. The default is the IP address of the management server.
os-type specifies the operating system of the diskless client image. Valid diskless client types include solaris and redhat.
path-to-kernelimage is the path to the kernel image relative to the TFTP server root directory.
path-to-bootimage1 is the path to the first boot image relative to the TFTP server root directory.
path-to-bootimage2 is the path to the second boot image relative to the TFTP server root directory.
The following example defines a Solaris diskless client image based on a two-part boot image.
N1-ok> create os my-diskless type solaris format diskless tftpserver 10.5.4.3 \ kernelimage images/diskless-kernel bootimage1 images/diskless-boot-1 bootimage2 images/diskless-boot-2 |