Re: autoyast: repository on usb partition (leap 15.3)

Ladislav Slezák <[email protected]> Fri, 12 Nov 2021 15:20:07 +0100
Newsgroups gmane.linux.suse.autoinstall
Message-ID <[email protected]>
On 11/12/21 11:29 AM, Per Lundkvist wrote:
> I've tried different variations of media_url combined with
> product_dir, but I have not been able to get any to work:
>=20
>    <add-on t=3D"map">
>      <add_on_others t=3D"list">
>          <listentry t=3D"map">
> ** this fails with Unsupported URI scheme in 'usb:///repo-usb?alias=3Drep=
o-usb-1'
>              <alias>repo-usb-1</alias>
>              <media_url>usb:///repo-usb</media_url>

And the main installation repository is located on the same USB?

If yes, then you can use the relurl:// scheme which points to an URL=20
relative to the main installation repository. It does not matter
whether it is USB, disk, FTP, HTTP,....

Try this:
                <media_url>relurl://repo-usb</media_url>

Let me know if that helps.

--=20
Ladislav Slez=C3=A1k
YaST Developer

SUSE LINUX, s.r.o.
Corso IIa
K=C5=99i=C5=BE=C3=ADkova 148/34
18600 Praha 8