11.3 Automatically Registering the Services at the Initial Startup of ZMD

ZMD can automatically register the services configured in the initial-configuration file. The file is located in /etc/zmd/ on SLES 10 or SLES 11 and SLED 10 or SLED 11 managed devices, and in /etc/opt/novell/zenworks/zmd/ on other managed devices.

The initial-configuration file contains the URL for the supported services that ZMD registers at initial startup. ZMD uses the information in the in the initial-configuration file to mount all the services the first time it starts. These services are not loaded during the subsequent startups because ZMD records the already mounted services in @localstatedir@/lib/zmd/services. If you want ZMD to mount the services listed in initial-configuration every time it starts, you must delete the services file before starting ZMD.

To have ZMD automatically register devices, you must manually create the initial-configuration file with the following contents:

[URL of the service]
type = service_type
key = service_name

In the file, you can also specify the registration_code for services that need a key for registration.

If you want to use special characters such as $ ! & ; ‘“ in the key value, you must enclose the value within single quotes.

A sample initial-configuration file is as follows:

[https://10.0.0.0]
type=zenworks
[https://update.novell.com/data]
type=rce
[http://www2.ati.com/suse]
type=YUM
key=yum_service