cant get Xinclude to work with suse 10
hi im having a problem getting my xinclude to work with suse 10. Heres are some parts of my autoinstall.xml <?xml version="1.0"?> <!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config=" http://www.suse.com/1.0/configns" xmlns:xinclude=" http://www.w3.org/2001/XInclude"> <bootloader> <activate config:type="boolean">false</activate> <loader_type>grub</loader_type> </bootloader> <files config:type="list"> <file> <file_contents><![CDATA[# $OpenLDAP: pkg/ldap/libraries/libldap/ldap.conf,v 1.9 2000/09/04 19:57:01 kurt Exp $ and a few lines down ... <general> <xinclude:include href=" http://192.168.100.19/autoyast/includes/hdd_prepare_scsi.xml"/> <clock> <hwclock>localtime</hwclock> <timezone>Europe/Berlin</timezone> </clock> <keyboard> <keymap>english-us</keymap> </keyboard> <language>en_US</language> <mode> <confirm config:type="boolean">false</confirm> <forceboot config:type="boolean">true</forceboot> </mode> <mouse> <id>21_imps2</id> </mouse> </general> yep ... that part seems to work ok .. since autoyast accepts it ... now to my hdd prepare_scsi.xml file: <partitioning config:type="list" xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns" xmlns:xinclude="http://www.w3.org/2001/XInclude"> <drive> <device>/dev/sda</device> <partitions config:type="list"> <partition> <crypt>twofish256</crypt> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>swap</mount> <partition_id config:type="integer">130</partition_id> <size>+1GB</size> </partition> <partition> <crypt>twofish256</crypt> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>/boot</mount> <partition_id config:type="integer">131</partition_id> <size>+100M</size> </partition> <partition> <crypt>twofish256</crypt> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>/</mount> <partition_id config:type="integer">131</partition_id> <size>+12GB</size> </partition> <partition> <crypt>twofish256</crypt> <format config:type="boolean">false</format> <loop_fs config:type="boolean">false</loop_fs> <mount>/data/UserData</mount> <partition_id config:type="integer">131</partition_id> <size>max</size> </partition> </partitions> <type config:type="symbol">CT_DISK</type> <use>free</use> </drive> </partitioning> i didnt find any docu related to suse 10. I guess a lot of the syntax changed since 9.0 (the docu i found) Autoyast tells me: ERROR Error while configuring partitions Try Again In the log (/var/log/YaST2/y2log) i can see (at the eof) that the SDA was detected fine .. but thats it .. im stuck.. thank in advance for any help Florian Zuegner.
Does your profile work without xincludes? i.e. with the partitioning section in the main profile? On Mon, 13 Feb 2006, mailing list wrote:
hi im having a problem getting my xinclude to work with suse 10.
Heres are some parts of my autoinstall.xml
<?xml version="1.0"?> <!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config=" http://www.suse.com/1.0/configns" xmlns:xinclude=" http://www.w3.org/2001/XInclude">
<bootloader> <activate config:type="boolean">false</activate> <loader_type>grub</loader_type> </bootloader>
<files config:type="list"> <file> <file_contents><![CDATA[# $OpenLDAP: pkg/ldap/libraries/libldap/ldap.conf,v 1.9 2000/09/04 19:57:01 kurt Exp $
and a few lines down ...
<general> <xinclude:include href=" http://192.168.100.19/autoyast/includes/hdd_prepare_scsi.xml"/> <clock> <hwclock>localtime</hwclock> <timezone>Europe/Berlin</timezone> </clock> <keyboard> <keymap>english-us</keymap> </keyboard> <language>en_US</language> <mode> <confirm config:type="boolean">false</confirm> <forceboot config:type="boolean">true</forceboot> </mode> <mouse> <id>21_imps2</id> </mouse> </general>
yep ... that part seems to work ok .. since autoyast accepts it ...
now to my hdd prepare_scsi.xml file:
<partitioning config:type="list" xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns" xmlns:xinclude="http://www.w3.org/2001/XInclude">
<drive> <device>/dev/sda</device> <partitions config:type="list"> <partition> <crypt>twofish256</crypt> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>swap</mount> <partition_id config:type="integer">130</partition_id> <size>+1GB</size> </partition> <partition> <crypt>twofish256</crypt> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>/boot</mount> <partition_id config:type="integer">131</partition_id> <size>+100M</size> </partition> <partition> <crypt>twofish256</crypt> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>/</mount> <partition_id config:type="integer">131</partition_id> <size>+12GB</size> </partition> <partition> <crypt>twofish256</crypt> <format config:type="boolean">false</format> <loop_fs config:type="boolean">false</loop_fs> <mount>/data/UserData</mount> <partition_id config:type="integer">131</partition_id> <size>max</size> </partition> </partitions> <type config:type="symbol">CT_DISK</type> <use>free</use> </drive> </partitioning>
i didnt find any docu related to suse 10. I guess a lot of the syntax changed since 9.0 (the docu i found)
Autoyast tells me:
ERROR Error while configuring partitions Try Again
In the log (/var/log/YaST2/y2log) i can see (at the eof) that the SDA was detected fine .. but thats it .. im stuck..
thank in advance for any help
Florian Zuegner.
-- Volkmar Glauche - Department of Neurology volkmar.glauche@uniklinik-freiburg.de Universitaetsklinikum Freiburg Phone 49(0)761-270-5331 Breisacher Str. 64 Fax 49(0)761-270-5416 79106 Freiburg
On Monday 13 February 2006 15:19, mailing list wrote:
and a few lines down ...
<general> <xinclude:include href=" http://192.168.100.19/autoyast/includes/hdd_prepare_scsi.xml"/>
Did you just copy and paste wrong or is your partitioning really in the <general> section? That can't work. Put the xinlcude above the <general> element. -- 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 (3)
-
mailing list
-
Uwe Gansert
-
Volkmar Glauche