Re: [suse-autoinstall] Disk partitioning with pre script !!
Ajay Mulwani
19/10/05 13:38 >>> Hello Hans, Thanks for the excellent info. I was testing this and configured my setup exactly the same way as mentioned in your example. The host on which I tried the installation is having more
Hi Ajay
1) Even an class.xml file must contain the header and footer for an autoinstall XML File
Example: ( I do not know if its valid or not )
<?xml version="1.0"?>
<!DOCTYPE autoinstall SYSTEM "/usr/share/autoinstall/dtd/rules.dtd">
<autoinstall xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
...
...
</autoinstall>
So your example is missing them. The best is to take the lines from your autoinst.xml file
2)
Have you checked your rules.xml
Be carefull with the
<continue config:type="boolean">false</continue>
because my example is pretty simple ( It does not use AND or OR logic for rules ) and after that no rules are processed any further.
so you might post also your rules.xml
3)
Check the Yast-Log files ( I think you will find the log after installation at /var/log/Yast2 )
and also look at /var/adm/autoinstall/cache/InstalledSystem.xml because it should be your merged final control/autoinstall file.
4)
Latest Documenation for autoyast
http://www.suse.de/~ug/autoyast_doc/rulesandclass.htm
hth
Hajo
============================
Hans-Joachim Ehlers
UNIX Systems Engineer
EUMETSAT
Am Kavalleriesand, 31
64295, Darmstadt, Germany
Tel : +49 6151 807-7307
mailto:hansjoachim.ehlers@eumetsat.int
http://www.eumetsat.int
then 500MB RAM. Therefore I assumed largeswap.xml and autoinst.xml files
should have been be merged to create the final control file. The contents of
largeswap.xml file in my case are:
$ cat largeswap.xml
<partition>
<crypt>twofish256</crypt>
<filesystem config:type="symbol">swap</filesystem>
<format config:type="boolean">true</format>
On Wednesday 19 October 2005 14:23, Hans-Joachim Ehlers wrote:
Latest Documenation for autoyast http://www.suse.de/~ug/autoyast_doc/rulesandclass.htm
there is an 'l' missing. It's: http://www.suse.de/~ug/autoyast_doc/rulesandclass.html -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
participants (2)
-
Hans-Joachim Ehlers
-
Uwe Gansert