Displaying 4 results from an estimated 4 matches for "methodperlbootloader".
2016 Sep 27
0
[PATCH 3/3] v2v: bootloaders: improve detection of Grub2 default method
...4f53f87..e03d22b 100644
--- a/v2v/linux_bootloaders.ml
+++ b/v2v/linux_bootloaders.ml
@@ -184,6 +184,12 @@ object
g#aug_save ()
end
+(** The method used to get and set the default kernel in Grub2. *)
+type default_kernel_method =
+ | MethodGrubby (** Use the 'grubby' tool. *)
+ | MethodPerlBootloader (** Use the 'Bootloader::Tools' Perl module. *)
+ | MethodNone (** No known way. *)
+
(* Grub2 representation. *)
class bootloader_grub2 (g : G.guestfs) grub_config =
@@ -199,6 +205,20 @@ class bootloader_grub2 (g : G.guestfs) grub_config =
error (f_"failed to find grub2-...
2016 Sep 27
8
[PATCH 0/3] v2v: further bits of Debian/Ubuntu guests supports
Hi,
this series adds a couple bits more in v2v to convert Debian/Ubuntu
(and derived) guests. The series does not complete the support (see
known issues below), but all the patches here should be fit for review
and inclusion. The series does not enable the conversion, yet.
Known issues:
* currently tested with simple local guest images, hence needs testing
with real guests on
2016 Oct 03
4
[PATCH v2 0/3] v2v: further bits of Debian/Ubuntu guests supports
Hi,
this series adds a couple bits more in v2v to convert Debian/Ubuntu
(and derived) guests. The series does not complete the support (see
known issues below), but all the patches here should be fit for review
and inclusion. The series does not enable the conversion, yet.
Known issues:
* currently tested with simple local guest images, hence needs testing
with real guests on
2017 Dec 01
1
[PATCH] v2v: bootloaders: handle no default grubby kernel (RHBZ#1519204)
...MethodGrubby ->
- Some (g#command [| "grubby"; "--default-kernel" |])
+ let res = g#command [| "grubby"; "--default-kernel" |] in
+ (match res with
+ | "" -> None
+ | _ -> Some res)
| MethodPerlBootloader ->
let cmd =
[| "/usr/bin/perl"; "-MBootloader::Tools"; "-e"; "
--
2.14.3