#!/bin/bash
yum install https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm -y
yum --enablerepo=elrepo-kernel install kernel-ml.x86_64 -y
grub2-mkconfig -o /boot/grub2/grub.cfg
cp /etc/default/grub /etc/default/grub-bak
grub2-set-default 0
grub2-mkconfig -o /boot/grub2/grub.cfg
yum makecache
reboot 
