Nailgun puts 'kernel_lt' flag in provisioning data and
if this flag is set, it is supposed that we need to install
kernel-lt package which is fedora kernel 3.10.
We assume both kernels are available in centos OS image:
2.6 and 3.10. We can just configure grub to boot with
one of those kernels. If flag 'kernel_lt' is NOT set, we
use 'vmlinuz-2.6' regexp for looking up for kernel file.
Otherwise we use default regexp 'vmlinuz' and sort available
kernels in backward direction, i.e. we use the newest available
kernel.
Co-Authored-By: Vladimir Kozhukalov <email address hidden>
Change-Id: I1f7eee934440ce32d6e733c417e82f578b6d0c18
Partially-closes-bug: #1398643
Reviewed: https:/ /review. openstack. org/176864 /git.openstack. org/cgit/ stackforge/ fuel-web/ commit/ ?id=154604f9580 92444b7ae65e30a 854f3ca213a76b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 154604f95809244 4b7ae65e30a854f 3ca213a76b
Author: Denis Egorenko <email address hidden>
Date: Thu Apr 23 18:42:04 2015 +0300
Fedora kernel install in ibp mode
Nailgun puts 'kernel_lt' flag in provisioning data and
if this flag is set, it is supposed that we need to install
kernel-lt package which is fedora kernel 3.10.
We assume both kernels are available in centos OS image:
2.6 and 3.10. We can just configure grub to boot with
one of those kernels. If flag 'kernel_lt' is NOT set, we
use 'vmlinuz-2.6' regexp for looking up for kernel file.
Otherwise we use default regexp 'vmlinuz' and sort available
kernels in backward direction, i.e. we use the newest available
kernel.
Co-Authored-By: Vladimir Kozhukalov <email address hidden> 32d6e733c417e82 f578b6d0c18 closes- bug: #1398643
Change-Id: I1f7eee934440ce
Partially-