On 21.10.2015 [15:33:12 +0000], Hymowitz, Eric B. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC] wrote: > 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.
So editing the .repo definitions, I believe just chagnes the eventual fs contents for your installations for the repos (in /etc/yum.repos.d) What does your source_repos value in the relevant JSON file look like? Look in /var/lib/cobbler/ for it. Generally, the rename code with all the dependencies seems to have some issues like htis, just a word of warning. You probably were better off deleting & reimporting -- not sure why it's that big of a deal? -Nish _______________________________________________ cobbler mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/cobbler
