Re: How can I override mindi options?
Lonely Admin <[email protected]> Tue, 27 Dec 2022 11:06:01 -0600
| Newsgroups | gmane.linux.mondo.devel |
|---|---|
| Message-ID | <CAGmJk0EfrA0G8O1B_F6P5oLcPhDui4ic1Ycsw9OO8r-U-AEJYg@mail.gmail.com> |
--===============5644911817700613895== Content-Type: multipart/alternative; boundary="000000000000d8846905f0d244c2" --000000000000d8846905f0d244c2 Content-Type: text/plain; charset="UTF-8" Thanks. For now I just hard coded it as the manufacturer could potentially change whatever I setup in the yaml file. Yes, access to source cannot be overrated! On Thu, Dec 8, 2022 at 5:48 PM Bruno Cornec <[email protected]> wrote: > Hello, > > Lonely Admin said on Thu, Dec 08, 2022 at 02:36:10PM -0600: > >I'm dealing with a heavily branded, though not really customized, version > >of CentOS 7. By not customized I mean that the binaries are the same, but > >anywhere the brand can be inserted, it is. > > > >This is causing issues when pbdistrocheck is called from mindi, around > line > >2188 or so. > > pbdistrocheck is using /etc/pb/pb.yml (or pb.conf if older version) to > "guess" your distro. > it's based on what is returned by a conf file such as /etc/redhat-release. > You can mimic say what is provided by rocky linux e.g. and create your > entry (this file is just a template made for that, copy commented of the > "real" one at /usr/share/pb/pb.yml) > > > If I can just pass options to override what it finds ( for > >$dname, $dver ) or hardcode things like $boottype, please let me know > where > >when running mondorescue. Otherwise I guess I'll hardcode it in the mindi > >script. > > Indeed, another way is to hardcode stuff and force a centos type of distro. > > That's why it's great to have the sourse !! > Let us know if you need more help. > > Bruno. > -- > HPE WW FLOSS Technology Strategist > http://www.hpe.com/engage/opensource > Open Source Profession, WW Linux Community Lead > http://github.com/bcornec > FLOSS projects: http://mondorescue.org > http://project-builder.org > Musique ancienne? http://www.musique-ancienne.org > http://www.medieval.org > > > _______________________________________________ > Mondo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mondo-devel > --000000000000d8846905f0d244c2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Thanks. For now I just hard coded it as the manufacturer c= ould potentially change whatever I setup in the yaml file. Yes, access to s= ource cannot be overrated!</div><br><div class=3D"gmail_quote"><div dir=3D"= ltr" class=3D"gmail_attr">On Thu, Dec 8, 2022 at 5:48 PM Bruno Cornec <<= a href=3D"mailto:[email protected]">[email protected]</a>> wrote:<= br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e= x;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br> <br> Lonely Admin said on Thu, Dec 08, 2022 at 02:36:10PM -0600:<br> >I'm dealing with a heavily branded, though not really customized, v= ersion<br> >of CentOS 7. By not customized I mean that the binaries are the same, b= ut<br> >anywhere the brand can be inserted, it is.<br> ><br> >This is causing issues when pbdistrocheck is called from mindi, around = line<br> >2188 or so. <br> <br> pbdistrocheck is using /etc/pb/pb.yml (or pb.conf if older version) to &quo= t;guess" your distro.<br> it's based on what is returned by a conf file such as /etc/redhat-relea= se.<br> You can mimic say what is provided by rocky linux e.g. and create your entr= y (this file is just a template made for that, copy commented of the "= real" one at /usr/share/pb/pb.yml) <br> <br> > If I can just pass options to override what it finds ( for<br> >$dname, $dver ) or hardcode things like $boottype, please let me know w= here<br> >when running mondorescue. Otherwise I guess I'll hardcode it in the= mindi<br> >script.<br> <br> Indeed, another way is to hardcode stuff and force a centos type of distro.= <br> <br> That's why it's great to have the sourse !!<br> Let us know if you need more help.<br> <br> Bruno.<br> -- <br> HPE WW FLOSS Technology Strategist=C2=A0 =C2=A0 =C2=A0 <a href=3D"http://ww= w.hpe.com/engage/opensource" rel=3D"noreferrer" target=3D"_blank">http://ww= w.hpe.com/engage/opensource</a><br> Open Source Profession, WW Linux Community Lead=C2=A0 =C2=A0 <a href=3D"htt= p://github.com/bcornec" rel=3D"noreferrer" target=3D"_blank">http://github.= com/bcornec</a><br> FLOSS projects:=C2=A0 =C2=A0 =C2=A0<a href=3D"http://mondorescue.org" rel= =3D"noreferrer" target=3D"_blank">http://mondorescue.org</a>=C2=A0 =C2=A0 = =C2=A0 =C2=A0 <a href=3D"http://project-builder.org" rel=3D"noreferrer" tar= get=3D"_blank">http://project-builder.org</a><br> Musique ancienne?=C2=A0 =C2=A0<a href=3D"http://www.musique-ancienne.org" r= el=3D"noreferrer" target=3D"_blank">http://www.musique-ancienne.org</a>=C2= =A0 <a href=3D"http://www.medieval.org" rel=3D"noreferrer" target=3D"_blank= ">http://www.medieval.org</a><br> <br> <br> _______________________________________________<br> Mondo-devel mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">Mond= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/mondo-devel" rel=3D= "noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo= /mondo-devel</a><br> </blockquote></div> --000000000000d8846905f0d244c2-- --===============5644911817700613895== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============5644911817700613895== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Mondo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mondo-devel --===============5644911817700613895==--