Re: using custom repository via AutoYast is not employed

Brian Reichert <[email protected]> Thu, 25 Jun 2020 13:06:00 -0400
Newsgroups gmane.linux.suse.autoinstall
Message-ID <[email protected]>
On Thu, Jun 25, 2020 at 11:32:58AM -0400, Brian Reichert wrote:
> On Thu, Jun 25, 2020 at 03:15:06PM +0000, Imobach Gonzalez Sosa wrote:
> > The problem is that <add_on_others> was introduced in SLE 15 and it is not 
> > available in SLE 12, so the repository will not be added. Anyway, you can 
> > workaround that problem by using the regular <add_on_products>. Something like 
> > this should work: https://github.com/imobachgs/autoyast-workshop-osc18/blob/
> > f72b05977e752f3c3e453f428e55bc6300df5c52/profiles/exercise.xml#L6-L10
> > 
> > [..]
> > 
> > I hope it helps.
> 
> Thanks; I appreciate the feedback!  I'll explore this soonish...

This has worked for me:

  <add-on>
   <add_on_products config:type="list">
      <listentry>
        <media_url><![CDATA[http://10.153.19.116/repo/]]></media_url>
        <product>Example Product</product>
        <alias>example</alias>
        <product_dir>/</product_dir>
        <priority>30</priority>
      </listentry>
    </add_on_products>
  </add-on>

Once again, thanks for the feeback.

> 
> > Regards,
> > Imo
> > 
> > --
> > Imobach Gonz?lez Sosa
> > YaST Team at SUSE LLC
> > https://imobachgs.github.io/
> 
> 
> 
> -- 
> Brian Reichert				<[email protected]>
> BSD admin/developer at large	
> -- 
> To unsubscribe, e-mail: [email protected]
> To contact the owner, e-mail: [email protected]
> 

-- 
Brian Reichert				<[email protected]>
BSD admin/developer at large	
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]