oscar-cluster / oscar

OSCAR main source repository.
GNU General Public License v2.0
13 stars 2 forks source link

[SystemInstaller] Some config file are not up-to-date #604

Open dikim33 opened 7 years ago

dikim33 commented 7 years ago

Reported by valleegr on 17 Feb 2011 15:13 UTC From Olivier Lahaye


When digging into some dependancies problem that were ignoring my local
repository, I found the following inconcistancy:

/etc/oscar/supported_distros.txt from oscar-base-6.1-2 points local repos to
/tftpboot/distro/redhat-el-5-x86_64 for redhat.
> redhat-el-5-x86_64 = distro:file:/tftpboot/distro/redhat-el-5-x86_64
oscar:http://bison.csm.ornl.gov/repos/unstable/rhel-5-x86_64

while /etc/systeminstaller/systeminstaller.conf from systeminstaller-
oscar-2.4.11-1 points to /tftpboot/rpms
> pkgpath=      /tftpboot/rpms

BTW, systeminstaller.conf has the following parapeter that points nowhere:
distinfo=       /usr/share/systeminstaller/distinfo
what should be the correct path for this parameter if a local repo exists
(let's say /tftpboot/distro/redhat-el-5-x86_64)?

Can't this be fixed in oscar-config --setup-distro <distroname>
if local repo for distroname doesn't exist, create it and update both config
files (/etc/oscar/supported_distros.txt and
/etc/systeminstaller/systeminstaller.conf)  accordingly?

On my side, i am not sure these config files are still used, that should be clarified.