|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
Re: [Xen-users] How to stop yum update on CentOS 5.1 to modify grub
 
Rudi Ahlers wrote:
 
You can change it by modifying the file /etc/sysconfig/kernel:
# UPDATEDEFAULT specifies if new-kernel-pkg should make
# new kernels the default
UPDATEDEFAULT=yes
# DEFAULTKERNEL specifies the default kernel package type
DEFAULTKERNEL=kernel-xen
 Make sure that your default kernel is "kernel-xen" and not "kernel" 
obviously.
Regards,
Bas.
  Cool, thank you. Does the kernel version affect this, or get affected by 
this at all?
  When a new kernel is installed, the post install script touched the file 
to change old "kernel-smp" references to "kernel". Script should only 
update after a check on kernel-smp IMHO.
 But if you have both xen-enabled and non-xen kernels installed, they 
both get updated when a new kernel of either type is available.
 The /etc/sysconfig/kernel file only determines whether the newly 
installed kernel becomes the default. I personally don't see why there 
are two switched needed for that. Guess it is for historical reasons.
Regards,
Bas.
(please keep the list posted)
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 
 |   
 
 | 
    | 
  
  
    |   | 
    |