Preparing the configuration file for SUSE Linux Enterprise
In the configuration file, you provide information that is used by the Patch Downloader utility. This information includes:
- Definition of a proxy server (if one is used)
- Identification of a local, temporary directory on the server that is used by the Patch Downloader utility during download
- Download filter definitions
Before you begin
Use the following command to encrypt the password supplied both to the vendor site and to the proxy server by the Patch Downloader utility. You must specify the resulting encrypted password in both <password></password> tags in the configuration XML file.
To prepare the configuration file for SUSE Linux Enterprise
- Edit the sample XML configuration file (sample-suse-downloader-config.xml) for use as the configuration file.
(Optional) Add proxy information using the following XML tags:
Add download information using the following XML tags:
Modify the <subscription> tag to create a filter that downloads the latest RPMs according to operating system, architecture, and channel combinations, according to the following syntax:
Save the file.
The sample-suse-downloader-config.xmlfile is shown below:<suse-downloader-config>
<config>
<!--<proxy-settings>
<port>8080</port>
<host>_ipAddress_</host>
<username>patch</username>
<password>NWKIPRTPCWEB</password>
<domain-name />
<proxy-type>ntlm</proxy-type>
</proxy-settings>
<temporary-location>c:\tmp</temporary-location>
<payload-repository-location>/home/repo/</payload-repository-location>
<download-request-retries>10</download-request-retries>
<download-request-timeout>180000</download-request-timeout>
<downloader-parallel-threads>10</downloader-parallel-threads>
</config>
<subscription>
<os-arch-filter>
<os>SLES10</os>
<arch>x86</arch>
<url>https://nu.novell/repo/$RCE/SLES10-Updates/sles-10-x86/rpm/</url>
<username>abs</username>
<password>suse1234</password>
</os-arch-filter>
</subscription>
</suse-downloader-config>The following table lists the URLs for the different Operating System and Architecture combinations of SUSE Linux Enterprise. You can use the required URL in the configuration file for SUSE Linux Enterprise.
URLs for SUSE Linux EnterpriseWhere to go from here
Use the command in Running-the-Patch-Downloader-utility-for-SUSE-Linux-Enterprise and pass the configuration file as a parameter to download the patches.