From Hella.Breitkopf@varetis.de Thu May 2 17:31:48 2002 From: Hella.Breitkopf@varetis.de To: autoinstall@lists.opensuse.org Subject: autoinst.xml - creating additional config files (problem + workaround) Date: Thu, 02 May 2002 17:31:48 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7754125642366722042==" --===============7754125642366722042== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi List, I had problems creating config-files in this way (either my syntax is wrong, or it's a bug): (Remark: Between and is more stuff of course, which *did* work - I snipped that in my examples. The xml itself is correct, says tidy -e -xml .) ----start-extract-from-NON-working-configuration-xml-- /etc/zzzz-config-file-creation-test files->listentry->config_file->file-contents ]]> ----stop-extract-from-NON-working-configuration-xml-- I expected to find a file named "/etc/zzzz-config-file-creation-test" on the new-installed box but found nothing like this in /etc or anywhere else. My workaround (this does work - at least on my box): ----start-extract-from-WORKING-configuration-xml-- ----stop-extract-from-WORKING-configuration-xml-- A file named /etc/zzzz-config-file-creation-test-workaround was created and filled. So, did I do something wrong in the upper example or can somebody verify this problem? Best regards, Hella -- -- -- -- -- hella breitkopf, unix + network administrator varetis AG , munich --===============7754125642366722042==-- From nashif@suse.de Thu May 2 20:35:33 2002 From: Anas Nashif To: autoinstall@lists.opensuse.org Subject: Re: [suse-autoinstall] autoinst.xml - creating additional config files (problem + workaround) Date: Thu, 02 May 2002 20:35:33 +0000 Message-ID: <20020502203532.GE18698@suse.de> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4783066955246607498==" --===============4783066955246607498== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable * Hella.Breitkopf(a)varetis.de [May 02. 2002 1= 9:31]: > Hi List, >=20 > I had problems creating config-files in this way > (either my syntax is wrong, or it's a bug): >=20 > (Remark: Between and is more stuff > of course, which *did* work - I snipped that in my examples. > The xml itself is correct, says tidy -e -xml .) > ----start-extract-from-NON-working-configuration-xml-- > >=20 > > ^^^^^^^^^^ > > /etc/zzzz-config-file-creation-test > > ##### > # /etc/zzzz-config-file-creation-test > # test config file > ##### >=20 > # test, whether autoyast can add complete config files >=20 > # xml-tree: configure->files->listentry->config_file->file-contents >=20 > ]]> > > > ^^^^^^^^^^^ > >=20 > > ----stop-extract-from-NON-working-configuration-xml-- There is an extra tag here which you dont need! The documentation actually has the following example: /etc/httpd/httpd.conf Any reason why there is the tag? The listentry tag is a fallback tag name we use to name items in a list due to the fact that an array or list like this: [a,b,c,d] Does not have an identifier and hence a name is needed. If the name is not defined, listentry is used. Anas -- Anas Nashif , SuSE Linux AG Montreal (Laval), Canada --===============4783066955246607498==--