[Spacewalk-list] Spacewalk Kickstart and Oracle UEK

Andreas Dijkman Andreas.Dijkman at cygnis.nl
Sat Mar 14 12:38:53 UTC 2015


Hey Glen,

I’ve added these few lines as kickstart-post-script in OL7 to use the RHCK-kernel as default, also after reboot and kernel-package-update!!

## RHCK as default
sed -i 's/=kernel-uek/=kernel/' /etc/sysconfig/kernel
grub2-set-default 0
grub2-mkconfig -o /boot/grub2/grub.cfg

The /etc/sysconfig/kernel-part should also work on OL6 but you have to tweak the grub.conf manually in OL6.

As Avi already mentioned, the kernel-uek-package is a dependancy-issue but the /etc/sysconfig/kernel-tweak uses the RHCK as default, even if UEK is installed. I just leave the kernel-uek-packages installed but use the RHCK as default under OL7.

Kind regards,

Andreas Dijkman

> On 13 Mar 2015, at 20:43, Avi Miller <avi.miller at oracle.com> wrote:
> 
> Hey Glen,
> 
>> On 14 Mar 2015, at 4:58 am, Glen Collins <glenc2004 at comcast.net> wrote:
>> 
>> Hi all. Does anyone know how to have only the Redhat Compatable Kernel install and not the UEK? I tried the parameter to remove kernel-uek and kernel-uek-firmware but it's still the default kernel. I also added kernel and kernel-firmware thinking that maybe it needed the rhel compat kernel defined during the KS. But still my final system defaults to having the UEK booted.
> 
> There are a few packages that pull in the UEK as a dependency, most obviously oraclelinux-release. I believe that our internal QA teams do have a KS solution for this, but I'll need to double-check.
> 
> Thanks,
> Avi
> 
> --
> Oracle <http://www.oracle.com>
> Avi Miller | Product Management Director | +61 (3) 8616 3496
> Oracle Linux and Virtualization
> 417 St Kilda Road, Melbourne, Victoria 3004 Australia
> 
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150314/af12dba5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3872 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150314/af12dba5/attachment.p7s>


More information about the Spacewalk-list mailing list