On Wed, Feb 11, 2015, at 07:24 AM, Stefan Schubert wrote:
Thanks, I have update the documentation.
Creating various autoyast profiles you can of course setup in the GUI. For one or a couple, the point & click is OK. For lots of machines+repos it's a pain. At least the way I'm doing it.
From each machine I want to model I can eaily get by SSH it's list of repos in XML format. For example
zypper -x lr <?xml version='1.0'?> <stream> <repo-list> <repo alias="Apache" name="Apache" type="rpm-md" priority="60" enabled="1" autorefresh="1" gpgcheck="1"> <url>http://download.opensuse.org/repositories/Apache/openSUSE_13.2/</url> </repo> </repo-list> </stream> To use that in AutoYast though, the XML needs to change format to autoyast XML <?xml version="1.0"?> <!DOCTYPE profile> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> <add-on> <add_on_products config:type="list"> <listentry> <alias>Apache</alias> <priority>60</priority> <media_url><![CDATA[http://download.opensuse.org/repositories/Apache/openSUSE_13.2/]]></media_url> <product/><product_dir/> </listentry> </add_on_products> </add-on> Is there a straightforward way to do the format conversion? And are ALL the parameters in zypper alias name type priority enabled autorefresh gpgcheck etc supported in AutoYast sources even though they're not documented? It'd be great to have an actual 1-to-1 mapping. Or better, the option to IMPORT a 'zypper lr' XML output file into AutoYast config. Or is there another, better way to get a machine's repo config easily and accurately into Autoyast? hanlon -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org