<files> section in 42.1

Robert Klein <[email protected]> Fri, 26 Feb 2016 09:10:28 +0100
Newsgroups gmane.linux.suse.autoinstall
Organization Max Planck-Institut für Polymerforschung
Message-ID <[email protected]>
Hi,

when using the <files> section in an autoyast profile for 42.1, the
files don't get deployed.

I try to deploy
e.g. /etc/ldap.conf, /etc/opelndap/ldap.conf /etc/ntp.conf, /etc/environment.

Now, in /var/adm/autoinstall/cache/installedSystem.xml
only /etc/environment shows up (though the original autoyast file
contains all; I verified this --- the installedSystem.xml has a
<service>puppet</service> line I added only _after_ I added the files
section.  Thanks for git).

Additionally, this one file does _NOT_ get deployed.


Excerpt from installedSystem.xml:


  <files>
    <file>
      <file_contents><![CDATA[#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on seperate lines
#
CUPS_SERVER=thps.mpip-mainz.mpg.de
]]></file_contents>
      <file_owner>root.root</file_owner>
      <file_path>/etc/environment</file_path>
      <file_permissions>644</file_permissions>
    </file>
  </files>



The original autoyast looks like this (the xi:includes replaced by
<![CDATA[ ... ]]> sections


  <files>
    <file>
      <file_path>/etc/ntp.conf</file_path>
      <file_contents>
        <xi:include file="files/ntp.conf" />
      </file_contents>
      <file_owner>root.ntp</file_owner>
      <file_permissions>640</file_permissions>
    </file>
    <file>
      <file_path>/etc/ldap.conf</file_path>
      <file_contents>
        <xi:include file="files/ldap.conf" />
      </file_contents>
      <file_owner>root.root</file_owner>
      <file_permissions>644</file_permissions>      
    </file>
    <file>
      <file_path>/etc/openldap/ldap.conf</file_path>
      <file_contents>
        <xi:include file="files/openldap-ldap.conf" />
      </file_contents>
      <file_owner>root.root</file_owner>
      <file_permissions>644</file_permissions>      
    </file>
    <file>
      <file_path>/etc/environment</file_path>
      <file_contents>
        <xi:include file="files/environment" />
      </file_contents>
      <file_owner>root.root</file_owner>
      <file_permissions>644</file_permissions>      
    </file>
  </files>


Any suggestions?

Thank you very much
Robert Klein

-- 
Robert Klein             UNIX Operations
Max Planck-Institut für Polymerforschung
Anschrift:  Ackermannweg 10, 55128 Mainz
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]