El miércoles, 12 de mayo de 2021 10:41:26 (WEST) Daniel Spannbauer escribió: [..]
Ok, it deletes not only the comments, it beautifies the whole xml, so xml tags set in a row like "</partitions></driver>" are splited.
Can I set any marker in a xml file, which is not destroyed by autoyast?
Hi Daniel, You are right, the AutoYaST preprocessing is rather complex and, at the end, it "regenerates" the profile in text form. This regenerated profile does not have comments, has additional annotations (t= attributes), and so on. There is no way to change such a behavior, but I hope we can find a different way of implementing what you need. It would be nice to know more details about what you are trying to achieve. For instance, you can put a placeholder like this: <password>%USERPASSWORD%</password> which is valid XML, is not a comment and can be easily replaced. But I guess your use-case could be more complex. BTW, which (open)SUSE version are you using? Regards, Imo -- Imobach González Sosa YaST Team at SUSE LLC https://imobachgs.github.io/