Data conversions for AutoYaST profiles
Hello, If you use new data types in the XML profile like <confirm t="boolean">true</confirm> then such profile does not work in SLE15-SP2 and older, it only accepts the old format <confirm config:type="boolean">true</confirm> It would be nice to have some automatic conversion so I created simple XSL transformations for converting between these types. See more details in the documentation https://github.com/yast/yast-autoinstallation/blob/master/doc/profile_conver... Enjoy! :-) Ladislav -- Ladislav Slezák YaST Developer SUSE LINUX, s.r.o. Corso IIa Křižíkova 148/34 18600 Praha 8
On Wed, 21 Dec 2022 16:50:52 +0100 Ladislav Slezák <lslezak@suse.com> wrote:
Hello,
If you use new data types in the XML profile like
<confirm t="boolean">true</confirm>
then such profile does not work in SLE15-SP2 and older, it only accepts the old format
<confirm config:type="boolean">true</confirm>
It would be nice to have some automatic conversion so I created simple XSL transformations for converting between these types.
See more details in the documentation https://github.com/yast/yast-autoinstallation/blob/master/doc/profile_conver...
Enjoy! :-)
Ladislav
Hi Lada, nice improvement. MAybe it should be send also to autoyast mailing list? Josef
El mié, 21-12-2022 a las 16:50 +0100, Ladislav Slezák escribió: [..]
See more details in the documentation https://github.com/yast/yast-autoinstallation/blob/master/doc/profile_conver...
Thanks a lot! Really useful stuff, although that XSLT stuff looks like magic to me :-) Regards, Imo -- Imobach González Sosa SUSE Linux LLC
participants (3)
-
Imobach Gonzalez Sosa
-
josef Reidinger
-
Ladislav Slezák