Created attachment 732457 [details]
log while calling yast clone_system
I have changed the logging in order to find out why the value for trustedkey
will not be written while the call "yast clone_system":
--- a/src/modules/NtpClient.rb
+++ b/src/modules/NtpClient.rb
@@ -310,14 +310,21 @@ module Yast
return false
end
- load_ntp_records
-
log.info("Raw ntp conf #{ntp_conf.raw}")
+ load_ntp_records
+ log.info("loaded ntp conf #{@ntp_records}")
true
end
def load_ntp_records
+ log.info("each entry:\n")
@ntp_records = ntp_conf.records.map do |record|
+ log.info("type :#{record.type}")
+ log.info("address:#{record.value}")
+ log.info("options:#{record.raw_options}")
+ log.info("comment:#{record.comment.to_s}")
+ log.info("------------------------------")
+
{
The output is:
<peer>
<address/>
<comment/>
<options/>
<type>trustedkey</type>
</peer>