Re: <files> section in 42.1
Stefan Schubert <[email protected]> Fri, 26 Feb 2016 10:14:19 +0100
| Newsgroups | gmane.linux.suse.autoinstall |
|---|---|
| Message-ID | <[email protected]> |
On 26/02/16 09:10, Robert Klein wrote: > 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 > Please open a bug report and include all YaST logfile and your autoinst.xml file. Thanks! Then we can have a look for..... Greetings Stefna -- ******************************************************************************* Stefan Schubert e-mail: [email protected] ------------------------------------------------------------------------------- SUSE LINUX GmbH GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]