[CentOS-virt] new-kernel-pkg needs to be made Xen-aware

Sat Nov 23 18:07:09 UTC 2013
Kenneth Porter <shiva at sewingwitch.com>

I ran "yum update" the other day on my dom0 and let it pull a new kernel. 
The RPM install scriptlet runs /sbin/new-kernel-pkg (part of the grubby 
package) to update grub.conf. It writes a new record to boot the Linux 
kernel instead of Xen. It would be nice if it noticed that it was running 
inside Xen and wrote a suitable record for that.