# figure out what the latest kernel installed is and switch to it
# NOTE: This is done like this becase the Rackspace F20 images are using
# extlinux / syslinux and don't switch to the newest kernel on update
NEWKERNEL=`rpm -qa | grep kernel-3 | sort -r | head -1 | cut -c 8-`
# figure out what the latest kernel installed is and switch to it
# NOTE: This is done like this becase the Rackspace F20 images are using
# extlinux / syslinux and don't switch to the newest kernel on update
NEWKERNEL=`rpm -qa | grep kernel-3 | sort -r | head -1 | cut -c 8-`