The posldap2autoinstcd.pl script is used to create the Automatic Branch Server Installation images. It generates an ISO file (autoinst.iso) and an XML document (autoinst.xml). This utility is located in the /usr/sbin directory.
Here is the command syntax to generate the Automatic Branch Server Installation images:
posldap2autoinstcd.pl [options]
Table 10-2 gives a description of the command options.
Table 10-2 Command options for posldap2autoinstcd.pl
Option |
|
Description |
---|---|---|
--DN branchserverdn |
Defines the distinguished name (DN) of the Branch Server, which is used to create the following:
This parameter is required. |
|
[--user ldapuser] |
Defines the user account the Branch Server uses to connect to the LDAP directory on the Administration Server. This parameter is optional. If it is not defined, the Branch Server uses the admin account and password created by the posInitLdap.sh or posInitEdir.sh script during the initial configuration of the Administration Server. |
|
[--pasword ldap_password] |
Defines the password the Branch Server uses to connect to the LDAP directory on the Administration Server. This parameter is optional. If it is not defined, the Branch Server uses the admin account and password created by the posInitLdap.sh or posInitEdir.sh script during the initial configuration of the Administration Server. |
|
[--SLES distribution_directory] |
Defines the path to the distribution directory where the SLES RPMs required to build the Automatic Branch Server Installation image are located. This parameter is optional. If it is not defined, the script uses the default distribution directory, /opt/SLES/POS/dist/. |
|
[--SP directory] |
Specifies the directory where an SLRS or SLES service pack is available.This option is used to integrate a service pack into the boot or installation system. This parameter is optional. If it is not defined, the script
uses only the SLES RPM packages specified in the AdminServer.conf file or
the Distribution.xml document. For more information
on these files, see |
|
[--output directory] |
Defines the directory where the Automatic Branch Server Installation images, autoinst.iso and autoinst.xml, are created. This parameter is optional. If it is not defined, the images are created in the directory where the script is executed. |
|
[--tmp directory] |
Defines the directory the script uses for temporary files. The default is /tmp/. |
|
[--xml document] |
Defines the name of the Automatic Branch Server Installation XML document produced in the output. This parameter is optional. If it is not defined, the XML document is named autoinst.xml. |
|
[--template template] |
Defines the directory where the template file used to create the Automatic Branch Server Installation image is located. This parameter is optional. If it is not defined, the script uses the default template, /opt/SLES/POS/xml/template.xml. |
The following example command creates an Automatic Branch Server Installation image with the following parameters:
posldap2autoinstcd.pl --DN cn=bs,cn=server,cn=branch,ou=boston, o=mycorp,c=us --user cn=admin,0=mycorp,c=us --password secret