The following command is equivalent to using Host Manager to convert a system to an AutoClient system.
% admhostmod -x type=AUTOCLIENT -x fileserv=lorna \ -x os=i386.i86pc.Solaris_2.5 -x root=/export/root \-x swapsize=32 -x disconn=N -x diskconf=1disk -x pass=abc -x postmod=postmodscript magneto |
In this example,
-x type=AUTOCLIENT |
Specifies the type of system after the conversion, in this case an AutoClient system. |
-x fileserv=lorna |
Specifies the name of the OS server. |
-x os= i386.i86pc.Solaris_2.5 |
Specifies platform, kernel architecture, and software release of the AutoClient system. |
-x root=/export/root |
Specifies the root path of the AutoClient system. |
-x swapsize=32 |
Specifies the size of the swap file. |
-x disconn=N |
Specifies whether the disconnectable option is enabled, in this case it is not enabled. |
-x diskconf=1disk |
Specifies the AutoClient system's disk configuration. |
-x pass=abc |
Specifies the Autoclient system's root password. |
-x postmod=postmodscript |
Specifies the script to run after modifying the AutoClient. |
magneto |
Specifies the name of the system being converted to an AutoClient system. |