Hello Everyone,
I've been attempting to kickstart an OEL 6 server off my Katello environment
and kept getting an error about failing to add a UEK4 repository. Since there
is no such repository definition in my provisioning templates / kickstart this
was very perplexing to me. After banging my head against the wall for a bit I
finally mounted the OEL 6 "install.img" and did a grep for UEK4. This is the
awesomeness I found:
$ cd /path/to/mounted/install.img
$ grep -r UEK4 *
usr/lib/anaconda/yuminstall.py: enableUEK4repo = False
usr/lib/anaconda/yuminstall.py: enableUEK4repo = True
usr/lib/anaconda/yuminstall.py: # If we are upgrading we need to check
for pre-UEK4 kernel
usr/lib/anaconda/yuminstall.py: # if found we do not want to enable the
UEK4 repo unless it is also installed
usr/lib/anaconda/yuminstall.py: foundUEK4 = False
usr/lib/anaconda/yuminstall.py: log.info("Found UEK4
modules directory %s" %(dirname))
usr/lib/anaconda/yuminstall.py: foundUEK4 = True
usr/lib/anaconda/yuminstall.py: if not foundUEK4:
usr/lib/anaconda/yuminstall.py: log.info("Found UEK1 kernel
and no UEK4 kernel, disabling UEK4 repo")
usr/lib/anaconda/yuminstall.py: enableUEK4repo = False
usr/lib/anaconda/yuminstall.py: if not foundUEK4:
usr/lib/anaconda/yuminstall.py: log.info("Found UEK2 kernel
and no UEK4 kernel, disabling UEK4 repo")
usr/lib/anaconda/yuminstall.py: enableUEK4repo = False
usr/lib/anaconda/yuminstall.py: if not foundUEK4:
usr/lib/anaconda/yuminstall.py: log.info("Found UEK3 kernel
and no UEK4 kernel, disabling UEK4 repo")
usr/lib/anaconda/yuminstall.py: enableUEK4repo = False
usr/lib/anaconda/yuminstall.py: if enableUEK4repo:
usr/lib/anaconda/yuminstall.py: self.addUEKRepo(extraRepos, "UEK4")
I've not found a way to disable this via any sort of boot options or the like
and am currently headed down the path of creating a new, custom version of
their install.img. If anyone has any brilliant ideas I would love to hear
them. I even checked their non-UEK boot media and it had the same code.
Hopefully, at the least, some other poor slave forced to use OEL will benefit
from my discovery.
Regards,
j
--
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.