Hi,
my configuration for ntp client looks like this and is working with SLES9.
<?xml version="1.0"?>
<!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd">
<profile xmlns="http://www.suse.com/1.0/yast2ns"
xmlns:config="http://www.suse.com/1.0/configns">
<configure>
<ntp-client>
<peers config:type="list">
<peer>
<address>127.127.1.0</address>
<options></options>
stratum 10
false
<type>__clock</type>
</peer>
<peer>
<address>time1.domain.com</address>
<comment></comment>
true
<options></options>
<type>server</type>
</peer>
<peer>
<address>time2.domain.com</address>
<comment></comment>
false
<options></options>
<type>server</type>
</peer>
<peer>
<address>/var/lib/ntp/drift/ntp.drift # Path for drift
file</address>
false
<options></options>
<type>driftfile</type>
</peer>
<peer>
<address>/var/log/ntp # Alternate log file</address>
false
<options></options>
<type>logfile</type>
</peer>
</peers>
true
true
</ntp-client>
</configure>
</profile>
Bye
Tobias
"Salbeck,
Christian,
MSOP51" An
k@eads.com> Kopie
09.08.2006 10:50 Thema
[suse-autoinstall] ntp server in
sles9
Hi list,
in SLES9 I want a list of ntp-servers, 2 clocks and a local server. For a
local server
i want to add the following entry to /etc/ntp.conf:
server 127.127.1.0
fudge 127.127.1.0 stratum 10
Adding the ntp.conf via the files-section doesn't work. So I used the
xml-file:
The xml –file looks like this:
<ntp-client>
<peers config:type="list">
…
<peer>
<address>127.127.1.0</address>
true
127.127.1.0 stratum 10
<type>server</type>
</peer>
</peers>
true
true
</ntp-client>
The problem is, that the tag does not affect the ntp.conf
file. It seems it doesn't work at all.
I got that tag out of the ntp-client.dtd, by the way!
So, is there any way of getting that line into place?
mit freundlichen Grüssen
|--------------------------------------------------------------------------|
| |
| |
| Salbeck Christian |
| |
| Dipl.-Ing.(FH)|
| |
| |
| |
| |
| |
| |
| |
| |
| |
|www.eads.com |
| |
| EADS Deutschland|
| GmbH|
| Coastal|
| Surveillance|
| Systems|
| MSOP51|
| |
| Landshuter Straße|
| 26|
| 85716|
| Unterschleißheim|
| Germany|
| |
| |
| |
| |
| |
| Phone: +49 (089)|
| 3179 - 2102|
| |
| E-Mail|
| christian.salbeck@|
| eads.com|
| |
| |
|--------------------------------------------------------------------------|
This message and any attachments are confidential and may be privileged or otherwise protected from disclosure.
If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment
from your system. If you are not the intended recipient, you must not copy this message or attachment or disclose the
contents to any other person.