Re: AutoYast openSUSE Leap 42.3: network repositories

"Matwey V. Kornilov" <[email protected]> Tue, 5 Feb 2019 10:40:58 +0300
Newsgroups gmane.linux.suse.autoinstall
Message-ID <CAJs94EadqBpDZ9cNYpUEs8hVN_KYQN2PyYTcKhUL09=Y7trQYg@mail.gmail.com>
=D0=BF=D0=BD, 4 =D1=84=D0=B5=D0=B2=D1=80. 2019 =D0=B3. =D0=B2 21:30, 686f6c=
6d <[email protected]>:
>
> On Sat, Feb 2, 2019 at 6:04 PM Matwey V. Kornilov
> <[email protected]> wrote:
> >
> > Hello,
> >
> > I am trying to configure AutoYast profile for installing Leap 42.3.
> > I deploy my XML profile file by HTTP as the following ifcfg=3Deth*=3Ddh=
cp
> > autoyast=3Dhttp://servername/path/to/profile.xml
> > I see that the profile is downloaded and Automatic Installation proceed=
s.
> >
> > The issue is that there is single one repository configured in software
> > manager: openSUSE installation DVD. How could I specify in autoyast to
> > configure usual openSUSE network repositories (oss, update-oss, non-oss=
,
> > update-non-oss) before installation is performed?
>
> We use something like the following[0]:
> ------------------------------ 8< ------------------------------
> <?xml version=3D"1.0"?>
> <!DOCTYPE profile>
> <profile xmlns=3D"http://www.suse.com/1.0/yast2ns"
> xmlns:config=3D"http://www.suse.com/1.0/configns">
>   [=E2=80=A6]
>   <add-on>
>     <add_on_products config:type=3D"list">
>       <listentry>
>         <ask_on_error config:type=3D"boolean">false</ask_on_error>
>         <media_url><![CDATA[http://<chooseyourmirror>/suse/install/42.3/]=
]></media_url>
>         <name>openSUSE 42.3 install</name>
>         <product>suse_install</product>
>         <product_dir>/</product_dir>
>       </listentry>
>       <listentry>
>         <ask_on_error config:type=3D"boolean">false</ask_on_error>
>         <media_url><![CDATA[http://<chooseyourmirror>/suse/update/42.3/]]=
></media_url>
>         <name>openSUSE 42.3 updates</name>
>         <product>suse_update</product>
>         <product_dir>/</product_dir>
>       </listentry>
>     </add_on_products>
>   </add-on>
>   [=E2=80=A6]
> </profile>
> ------------------------------ >8 ------------------------------
>
> The example is taken from an internal partial mirror, and IIRC the
> paths (after "<chooseyourmirror>" ) are slightly different on
> download.opensuse.org and other official mirrors:
> - install should be "/distribution/leap/42.3/repo/oss/"
> - update should be "/suse/update/42.3/"
>
> However, since I haven't tested with this setup, I wanted to posted
> the tested-and-working example as-is. (c;
>

Thanks. This is very similar to what I invented. But is there a way to
avoid manual specification?
I mean, when manual system installation is performed, then the user
doesn't have to know network repos URLs. They are hardcoded somewhere
inside YaST configuration.

>
> [0]: official docs:
> https://doc.opensuse.org/projects/autoyast/#Software.Selections.additiona=
l
>
> --
> Kind regards
>     Christopher 'm4z' Holm / 686f6c6d
>
> "We must respect the other fellow's religion, but only in the sense
> and to the extent that we respect his theory that his wife is
> beautiful and his children smart." --H. L. Mencken



--=20
With best regards,
Matwey V. Kornilov
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]