On Tue, 27 Sep 2016 17:58:12 +0200
Pino Toscano <ptoscano(a)redhat.com> wrote:
Detect only once which method must be used to get and set the
default
Grub2 kernel in the guest: this avoids the same checks in list_kernels
and set_default_kernel.
Also, add a "no method" option as well: Debian/Ubuntu guests do not have
neither grubby nor Perl's Bootloader::Tools, so there is no way to know
what is the default kernel, nor to change it. In this case, add a
warning about this situation.
---
v2v/linux_bootloaders.ml | 61 ++++++++++++++++++++++++++++++++++--------------
1 file changed, 44 insertions(+), 17 deletions(-)
The series LGTM.
--
Tomáš Golembiovský <tgolembi(a)redhat.com>