Re: How can I override mindi options?
Bruno Cornec <[email protected]> Fri, 9 Dec 2022 00:47:58 +0100
| Newsgroups | gmane.linux.mondo.devel |
|---|---|
| Message-ID | <[email protected]> |
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