Greetings.
We accidentally imported the Red Hat 6.7 distribution under the name rhel67-x86_64 instead of rhel6u7-x86_64 . Realizing our mistake, we used the cobbler web interface to rename the distro. So far so good.
However, when we do a “view kickstart”, the three “source-“ repos in the “$yum_repo_stanza” variable are still pointing to the old incorrect name
http://xxxxxxxx/cobbler/ks_mirror/rhel67-x86_64
instead of the correct name
http://xxxxxxxx/cobbler/ks_mirror/rhel6u7-x86_64
We found three files named
/var/www/cobbler/ks_mirror/config/rhel67-x86_64-0.repo
that each contained a line like
baseurl=http://@@http_server@@/cobbler/ks_mirror/rhel67-x86_64
and we renamed the files and edited the baseurl lines. However, our kickstarts still have the wrong URLs in them.
Can somebody please point me as to where/how I can fix this? Please don’t tell me I have to erase and reimport the distro DVD.
Thanks.
--EbH