Re: Custom ISO with Kickstart and Local Repos
Vinícius Ferrão <[email protected]> Thu, 22 Feb 2018 20:08:57 -0300
| Newsgroups | gmane.linux.redhat.kickstart.general |
|---|---|
| Message-ID | <[email protected]> |
--===============5481250749708726623== Content-Type: multipart/alternative; boundary="Apple-Mail=_80759475-0854-4DA9-87D1-1FECB478C7E0" --Apple-Mail=_80759475-0854-4DA9-87D1-1FECB478C7E0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, > On 22 Feb 2018, at 19:11, Arun SAG <[email protected]> wrote: >=20 > Hello, >=20 > On Thu, Feb 22, 2018 at 1:46 PM, Vin=C3=ADcius Ferr=C3=A3o > <[email protected]> wrote: >>=20 >> The small ISO generated by Lorax lacks local repositories and I was = unable to find the appropriate documentation on how to build this = scenario. So it generates a boot only install that must be done over the = Internet. >=20 > Have you tried using pungi? Pungi takes in a kickstart file as input > and generates an install media. I would give you an example but my old > pungi composes are based on < pungi-4. Well=E2=80=A6 pungi-3.12 is available for CentOS. So I guess I=E2=80=99m = on < 4 too. > Pungi creates install media, livemedia-creator creates live media, > what type of media are you trying to create? I would like to create and ISO of CentOS with the "Server with GUI=E2=80=9D= environment group and Ansible, which is available on Extras repository. There=E2=80=99s additional branding on the installer and removal of = options in Anaconda too, for example: I don=E2=80=99t want the package = selection screen. This is handled with product.img sending a premade = /etc/sysconfig/anaconda file with a similar content like: [root@centos7 sysconfig]# cat anaconda=20 [SourceSpoke] visited =3D 1 [SoftwareSelectionSpoke] visited =3D 1 [UserSpoke] visited =3D 1 > https://fedoraproject.org/wiki/Remix > = https://www.happyassassin.net/2016/02/15/pungi-4-the-new-generation-of-the= -fedora-compose-tools-and-what-it-means-for-qa/ = <https://www.happyassassin.net/2016/02/15/pungi-4-the-new-generation-of-th= e-fedora-compose-tools-and-what-it-means-for-qa/> I=E2=80=99m looking at it. Thanks, V. >=20 >=20 >=20 > --=20 > Arun S A G > http://zer0c00l.in/ >=20 > _______________________________________________ > Kickstart-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/kickstart-list --Apple-Mail=_80759475-0854-4DA9-87D1-1FECB478C7E0 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" = class=3D"">Hi,<br class=3D""><div><br class=3D""><blockquote type=3D"cite"= class=3D""><div class=3D"">On 22 Feb 2018, at 19:11, Arun SAG <<a = href=3D"mailto:[email protected]" class=3D"">[email protected]</a>> = wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div = class=3D"">Hello,<br class=3D""><br class=3D"">On Thu, Feb 22, 2018 at = 1:46 PM, Vin=C3=ADcius Ferr=C3=A3o<br class=3D""><<a = href=3D"mailto:[email protected]" = class=3D"">[email protected]</a>> wrote:<br = class=3D""><blockquote type=3D"cite" class=3D""><br class=3D"">The small = ISO generated by Lorax lacks local repositories and I was unable to find = the appropriate documentation on how to build this scenario. So it = generates a boot only install that must be done over the Internet.<br = class=3D""></blockquote><br class=3D"">Have you tried using pungi? Pungi = takes in a kickstart file as input<br class=3D"">and generates an = install media. I would give you an example but my old<br class=3D"">pungi = composes are based on < pungi-4.<br = class=3D""></div></div></blockquote><div><br class=3D""></div><div>Well=E2= =80=A6 pungi-3.12 is available for CentOS. So I guess I=E2=80=99m on = < 4 too.</div><br class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D""><div class=3D"">Pungi creates install media, = livemedia-creator creates live media,<br class=3D"">what type of media = are you trying to create?<br class=3D""></div></div></blockquote><div><br = class=3D""></div>I would like to create and ISO of CentOS with the = "Server with GUI=E2=80=9D environment group and Ansible, which is = available on Extras repository.</div><div><br = class=3D""></div><div>There=E2=80=99s additional branding on the = installer and removal of options in Anaconda too, for example: I don=E2=80= =99t want the package selection screen. This is handled with product.img = sending a premade /etc/sysconfig/anaconda file with a similar content = like:</div><div><br class=3D""></div><div><div>[root@centos7 sysconfig]# = cat anaconda </div><div>[SourceSpoke]</div><div>visited =3D = 1</div><div><br = class=3D""></div><div>[SoftwareSelectionSpoke]</div><div>visited =3D = 1</div><div><br class=3D""></div><div>[UserSpoke]</div><div>visited =3D = 1</div><div><br class=3D""></div></div><div><blockquote type=3D"cite" = class=3D""><div class=3D""><div class=3D""><a = href=3D"https://fedoraproject.org/wiki/Remix" = class=3D"">https://fedoraproject.org/wiki/Remix</a><br class=3D""><a = href=3D"https://www.happyassassin.net/2016/02/15/pungi-4-the-new-generatio= n-of-the-fedora-compose-tools-and-what-it-means-for-qa/" = class=3D"">https://www.happyassassin.net/2016/02/15/pungi-4-the-new-genera= tion-of-the-fedora-compose-tools-and-what-it-means-for-qa/</a><br = class=3D""></div></div></blockquote><div><br class=3D""></div><div>I=E2=80= =99m looking at it.</div><div><br = class=3D""></div><div>Thanks,</div><div>V.</div><br class=3D""><blockquote= type=3D"cite" class=3D""><div class=3D""><div class=3D""><br = class=3D""><br class=3D""><br class=3D"">-- <br class=3D"">Arun S A G<br = class=3D""><a href=3D"http://zer0c00l.in/" = class=3D"">http://zer0c00l.in/</a><br class=3D""><br = class=3D"">_______________________________________________<br = class=3D"">Kickstart-list mailing list<br = class=3D"">[email protected]<br = class=3D"">https://www.redhat.com/mailman/listinfo/kickstart-list</div></d= iv></blockquote></div><br class=3D""></body></html>= --Apple-Mail=_80759475-0854-4DA9-87D1-1FECB478C7E0-- --===============5481250749708726623== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kickstart-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/kickstart-list --===============5481250749708726623==--